8

I have submitted my website to Google Webmaster Tools with both www and with no-www. I had made the domain without www to my preffered domain and have submitted a sitemap.

My question is should I also submit a sitemap to the one whit www?

6

No, you don't need to submit a sitemap for the version (here with www) you don't want to use.

Remember submitting a sitemap to your Google Webmaster Tools account helps indexing of the site. Therefore, you submit a sitemap only for a site you want to see in Google's index.

1

You should submit the sitemap only to the version of the site that matches the URLs in the sitemap.

  • Submit this sitemap only to the no-www site in Google Webmaster Tools:

    <loc>http://example.com/mypage.html</loc>
    
  • Submit this sitemap only to the www site in Google Webmaster Tools:

    <loc>http://www.example.com/mypage.html</loc>
    

The URLs in your sitemap should match your preferred domain preference. Google uses which URLs appear in a sitemap as one way of figuring out canonical URLs (see The Sitemap Paradox). Your preference setting in webmaster tools is another way. In order not to confuse Google, the two should match.

So in your case, I would expect all the URLs in your sitemap to include the www. and you to submit the sitemap to the www site in Google Webmaster Tools.

protected by Community Apr 16 '16 at 4:59

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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