Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have site www.example.com which someone previously configured with wildcard DNS records and with no 301 redirects. As you may have expected, Google's index is now full of garbage like w.example.com, pop.example.com, ns1.example.com, foobar.example.com, etc. All of the indexed subdomains are almost exact copies of the main domain, duplicating every content from the latter one.

I've set up 301 redirects if requests come from everything except www.example.com, but seems that it is not enough because after almost three months since the redirects where set up, all the incorrect subdomains still pile up on Google's index.

So the question is: what could I do to speed up this cleanup process?

I have heard of sitemap assisted redirects, but some people suggest that this approach is not viable, since Webmaster Tools may reject sitemaps containing URL's causing redirects.

share|improve this question
up vote 1 down vote accepted

The 301 redirects should be resolving this issue but if you do not think that is working you can try also using canonical URLs to resolve this. By giving each page on the main site a canonical URL you will be telling Google that URL is the main URL that you want indexed for that content. Any other URL that pulls up that page should be considered a duplicate of that page and to only consider that page for indexing and ranking purposes.

share|improve this answer
Thanks for the answer. This means that I will have to set up canonical tags via HTTP headers. The html tag won't work since no body is served for the URL's on the incorrect domains, because they are all 301 redirects. – azkotoki Aug 13 '14 at 17:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.