问题原文
原帖链接 · Alex · CC BY-SA 3.0
I noticed in Webmaster Tools that pages on my site that were renamed or deleted many years ago are still coming up listed as not found even though there have never been any links to these pages.
So is it necessary every time you change the name of a page, to keep the old page as a 301 redirect to the new page? Or will Google just figure it out over time?
My site has gone from two websites: www.example.com and a mobile version m.example.com, now merged into just one example.com that works in mobile and desktop.
已采纳解答
原帖链接 · DocRoot · CC BY-SA 3.0
If you change the URL of a page you only need to implement a 301 redirect if that URL is either indexed by search engines (in order to preserve SEO) and/or the old URL is being linked to (or bookmarked) from other sites/users.
If the old URL has been around for a while then it's very likely that either one or both of the above is true, so a 301 redirect is mandatory most of the time.
Or will Google just figure it out over time?
Google will struggle to "just figure it out" if you don't implement redirects. The old/indexed URLs will no longer exist (404 Not Found) and the new URLs are just that, brand new pages. Other sites that are linking to the old pages are just dead links.
or deleted ...
If a page/URL is genuinely "deleted", ie. it has not "moved" or been renamed, then there is nothing to redirect to and a 404 Not Found response is the correct response in this instance.
now merged into just one
example.com...
Aside: You don't appear to have implemented a canonical www to non-www redirect.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
