joined:Mar 29, 2006
Hi all. Have a sitemap for a brand new site that I am trying to have google webmaster tools accept.
Site is http://example.com, and I redirect www.example.com to example.com via Apache.
In GWT (Google Webmaster Tools), have added and verified example.com. Wanted to set example.com as the 'preferred domain', so also added www.example.com, veified it and then set the preferred domain for both to the non-www. No issues so far.
Now, wanted to add a sitemap. Sitemap is valid xml, and linked it from GWT using the url http://example.com/sitemap.xml.
In this sitemap, I have 20 links for now, 15 of which link to a subdomain, listings.example.com. When GWT crawled it, I got the following error:
Paths don't match
We've detected that you submitted your Sitemap using a URL path that includes the www prefix (for instance, http://www.example.com/sitemap.xml). However, the URLs listed inside your Sitemap don't use the www prefix (for instance, http://example.com/myfile.htm).
Beside this to the right, the example error link shows one of the subdomain links, [listings.example.com
...] Ok, this makes sense, I do a little digging and find that I should also add and verify listings.example.com to GWT. DO this, and re-submit the sitemap, GWT crawls it, but I still get the exact same error. I have verified that the only links in the sitemap are using domains example.com and listing.example.com, both of which are verified in GWT. None of the links use www.example.com, as the error message seems to indicate.
I am at a loss. I've tried deleting the sitemap (it deletes from 'Mine' but I can't find a way to remove it from 'All', weird). I've tried resubmitting it, and triple checked that all links use only example.com or listings.example.com, but still get the same error every time.
Any ideas/advice? Thanks!