Sitemap submission help

2 replies
Hello,

Hello,

I changed my domain name to something new(contents are same though,I have changed the domain name only). When I submitted the sitemap URLs, i got some warning and issues-

Url blocked by robots.txt.
Sitemap contains urls which are blocked by robots.txt.



And in the warning section, it's showing the URLs of my old domain. e.g, http://olddomain.com/any-page/


Even though all the links are working properly and pointing to the new domain, still it's showing old domain URLs in google search console(webmaster tool)
#sitemap #submission
  • Profile picture of the author Tony Marriott
    Most likely it is an issue with either the robots.txt or your site map.
    Have you actually looked at your site map to make sure there are no old domain referenced in it?

    If all OK then simply delete your robots.txt. if that sorts the errors then that is the problem. Then create a new robotss.txt to fit your requirements.
    {{ DiscussionBoard.errors[10525392].message }}
  • Profile picture of the author Marvin Lex
    Wait a bit longer. Sometimes it takes a while for Google to update it. You can also post something (so the sitemap gets updated), this can help as well.
    {{ DiscussionBoard.errors[10525554].message }}

Trending Topics