I was finally getting my site to be completely indexed in Google Sitemaps when I got the following error. And let me add that this error came out of nowhere. There were no changes to my sitemap, there was nothing updated on my server. Google went from being okay with my sitemap one day, to blocking the entire thing the next. Any feedback from people who have had the same problem would be appreciated.
Every URL that was submitted yielded the following error:
URL not allowed
This url is not allowed for a Sitemap at this location.
I have checked the preferred domain, the download location, etc. Every submitted URL matches the domain prefix of www. Any ideas? Anyone?
So I’ve been trying to setup my site with Google Sitemaps and I’ve constantly been getting an error: Paths don’t match. I’ve read a few posts and forum notes saying that this is due to the site being setup in Google Sitemaps as http://sitename.com and the URLs in the sitemap being submitted as http://www.sitename.com/ (or vice versa). Some of the suggestions that I’ve read stated that you should try removing the site from Google Sitemaps, then re-adding it with (or without) the www. prefix on the site name. The problem I am having is this, I have www. in all of my sitemap links and in my site in Google Sitemaps. I’ve even tried deleting the site and resubmitting it. What gives? See the screenshot below for more details… any help or suggestions would be greatly appreciated!
Has anyone else had this problem? What did you do to get around it?
Google Sitemap Error Update
After battling with the problem for a bit, I think I may have found a solution. Even though the input page already has a prefix such as http://www.sitename.com/BLANK – re-enter http://www.sitename.com/sitemap.xml in the BLANK field. I don’t know why Google would make it so unclear, but this seems to fix it. See image below:
Google Sitemap Error Update 2
The above “Update” solution didn’t work. Don’t try it.
Google Sitemap Error Update 3
I found a couple solutions where people mentioned going from a TXT DNS record to a META tag or uploading an HTML file. I just added a META tag to my site… stay tuned to hear if it worked or not. Thanks for the comment RickFu!