大网数据广告活动
网站运营与故障问答

Redirect old domain to new domain SEO friendly

· 52CE 我爱测

We are about the release a new version of a website for one of our clients. His current website is on www.domain.be, the new domain with a complete different structure is located on www.newdomain.be So now we need to redirect tra…

问题原文

原帖链接 · Mivaweb · CC BY-SA 3.0

We are about the release a new version of a website for one of our clients.

His current website is on www.domain.be, the new domain with a complete different structure is located on www.newdomain.be

So now we need to redirect traffic for the old one to the new one.

Is it best practise to redirect everything to the home page on the new domain or do we need to redirect each page to the correct page on the new domain?

已采纳解答

原帖链接 · M-n-I SEO Guy · CC BY-SA 3.0

You will want to implement the following in the old domain's .htaccess file:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.newdomain\.be 
RewriteRule (.*) http://www.newdomain.be/$1 [R=301,L]

And, since your file structure is changing on the new domain you will definitely want to permanently 301 redirect ALL of the old urls to the new corresponding url's. You will also want to do a change of address in Google Webmaster tools and submit your new sitemaps.

Here is a link to a page with more detailed information:

https://www.creare.co.uk/blog/seo-advice/how-to-301-to-a-new-domain

I hope this helps...

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-10-03)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。