{"url":"https://www.namesilo.com/questions/zh-hans/websites-and-ai/i-rebuilt-a-wordpress-site-with-ai-and-kept-the-same-domain-how-do-i-preserve-links-to-older-blog-posts","language":"zh-hans","title":"我用 AI 重建了 WordPress 站点，域名不变。怎么保留老博客的链接？","answer":"导出 WordPress 文章 URL，并与重建后网站的路由一一比对。","body":"我用 AI 重建了 WordPress 站点，域名不变。怎么保留老博客的链接？\n\n导出 WordPress 文章 URL，并与重建后网站的路由一一比对。\n\n保留每一条旧文章的 URL\n\n尽量保持路径一致，若变动则设置重定向直达对应新文章。\n\n导出旧固定链接\n\n匹配新的路由\n\n逐条测试变更链接\n\n操作前须知\n\n请同时检查图片、订阅源和站内链接；域名未变并不能保持变更后的固定链接不变。\n\n首先: 导出旧固定链接。\n\n接下来: 匹配新的路由。\n\n确认: 逐条测试变更链接。","steps":["导出旧固定链接","匹配新的路由","逐条测试变更链接"],"faqs":[],"sources":[["Google 搜索：带URL更改的网站迁移","https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes"],["HTTP跳转语义","https://www.rfc-editor.org/rfc/rfc9110.html#section-15.4"]],"english":"https://www.namesilo.com/questions/websites-and-ai/i-rebuilt-a-wordpress-site-with-ai-and-kept-the-same-domain-how-do-i-preserve-links-to-older-blog-posts"}