问题原文
原帖链接 · Amanite Laurine · CC BY-SA 3.0
I am working on a website redesign. When I uploaded my code in production, I didn't know I must make a redirect between www and non-www URL.
Since I have corrected that problem, Google has indexed both www and non-www URLs.
How can I tell google to unindex all www URLs and only reindex non-www URLs?
已采纳解答
原帖链接 · Ronen Teva · CC BY-SA 3.0
As long as you've configured the redirect properly:
- You don't need to worry about the extra indexed pages, as there are no downsides for you.
- Google will slowly start removing the redirected pages. Depends on the traffic, this can take long months, from personal experience.
- As Edward suggested, you may use Google Webmaster Tools to set your preferred domain.
Make sure the redirect pages are 301 (permanent) and not 302 (temporary), you might want to use a redirect checker to make sure.
Good luck with the new design!
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
