惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

K
Kaspersky official blog
Martin Fowler
Martin Fowler
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
V
Visual Studio Blog
博客园_首页
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
MongoDB | Blog
MongoDB | Blog
Blog — PlanetScale
Blog — PlanetScale
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
D
Docker
博客园 - 司徒正美
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
博客园 - 叶小钗
博客园 - 三生石上(FineUI控件)
U
Unit 42
J
Java Code Geeks
A
About on SuperTechFans
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Security Affairs
I
Intezer
Cisco Talos Blog
Cisco Talos Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
B
Blog RSS Feed
P
Privacy & Cybersecurity Law Blog
T
Tenable Blog
T
Threatpost
H
Hacker News: Front Page
G
Google Developers Blog
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research
L
Lohrmann on Cybersecurity
大猫的无限游戏
大猫的无限游戏
Google DeepMind News
Google DeepMind News
A
Arctic Wolf
S
Secure Thoughts
GbyAI
GbyAI
NISL@THU
NISL@THU
S
Security @ Cisco Blogs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Webroot Blog
Webroot Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
O
OpenAI News
Spread Privacy
Spread Privacy
Application and Cybersecurity Blog
Application and Cybersecurity Blog

记录生活,精彩一刻 - 域名

内容创作者与粉丝订阅互动平台爱发电无法打开 备案被注销及域名被冻结 Typecho 网站更换域名操作指南 阿里云备案用户不想掉备案 Namesilo域名转出教程 WHMCS V7.8.0原版下载及破解补丁安装教程
Typecho更换新域名教程 数据库篇
Huo · 2022-08-28 · via 记录生活,精彩一刻 - 域名

TYPECHO数据库更换域名教程

Typecho-phpMyAdmin修改数据库篇

我是用宝塔面板的,请设置phpMyAdmin启用公共访问权限。

通过phpMyAdmin执行sql语句对数据库的方法对文章和评论的相关域名进行替换。

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

UPDATE `typecho_options` SET `value` = '新域名' WHERE `typecho_options`.`name` = 'siteUrl' AND `typecho_options`.`user` =0;
ps:此处新域名建议加上https:// 也可以博客后台设置更改

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

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

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

UPDATE `typecho_users` SET `url` = REPLACE(`url`,'旧域名','新域名');
ps:建议网站后台修改即好。

4、修改评论中相关域名:位置typecho_comments 表

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

以上操作都可以在phpmyadmin进行。选择对应的数据库,执行sql即可

转自Lam's Blog