Jump to content
View in the app

A better way to browse. Learn more.

乾坤堂社区

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Typecho更换域名图片不显示解决

Featured Replies

  • Administrators

Typecho博客切换域名后会导致博客中的图片链接还是老博客的,这样就会导致我们打开图片就会出现空白报错,我们可以通过sql语句来执行替换

1、修改设置中的本站域名:位置 typecho_options 表

UPDATE `typecho_options` SET `value` = '新域名' WHERE `typecho_options`.`name` = 'siteUrl' AND `typecho_options`.`user` =0;

2、修改文章中相关域名:位置 typecho_contents 表

UPDATE `typecho_contents` SET `text` = REPLACE(`text`,'旧域名','新域名');

3、修改管理员个人网站:位置 typecho_users 表

UPDATE `typecho_users` SET `url` = REPLACE(`url`,'旧域名','新域名');

4、修改管理员个人网站:位置 typecho_comments 表

UPDATE `typecho_comments` SET `url` = REPLACE(`url`,'旧域名','新域名');
UPDATE `typecho_comments` SET `text` = REPLACE(`text`,'旧域名','新域名');
UPDATE `typecho_comments` SET `mail` = REPLACE(`mail`,'旧域名','新域名');

5、修改文章头图域名:位置 typecho_fields 表

UPDATE `typecho_fields` SET `str_value` = REPLACE(`str_value`,'旧域名','新域名');

成长就是不断打破并重建三观

  • Views 143
  • Created
  • Last Reply

Create an account or sign in to comment

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.