【发布时间】:2009-04-13 04:08:09
【问题描述】:
我刚刚将我的网站从 siteA.com 移到了 siteB.com。 在 siteA.com 上发表了数百篇文章。
Google 仍然只能在 siteA.com 上找到文章。
问题示例
我可以在 Google 中找到以下文章
www.siteA.com/article1
...
www.siteA.com/article777
我需要从siteA的每篇文章到siteB的文章进行301域重定向,这样
www.siteB.com/article1
...
www.siteB.com/article777
这需要 .htaccess 中的 777 个域重定向。
有没有比在 .htaccess 文件中编写 1555 行代码更简单的方法来进行域重定向?
【问题讨论】:
标签: .htaccess