5

We've had an accidental situation where our Wordpress site had the robots.txt set to disallow crawling for about 7 days. I'm now trying to play clean up and Webmaster Tools is saying "Sitemap contains urls which are blocked by robots.txt." AFTER I"ve adjusted the robots.txt and allowed crawling. There is no reason why the URLS would still be blocked and when I visit the examples they appear OK.

Robots.txt URL: http://bit.ly/1u2Qlbx

Sitemap URL: http://bit.ly/1BfkSmx

My URLs where the robots.txt is blocking according to Webmaster Tools: http://bit.ly/1uLBRea OR http://bit.ly/1CsrHnr

Rocco The Taco
  • 3,695
  • 13
  • 46
  • 79
  • I voted to close this question because it is not a programming question and it is off-topic on Stack Overflow. Non-programming questions about your website should be asked on [webmasters.se]. In the future, please ask questions like this there. – Stephen Ostermiller Mar 30 '22 at 14:53

3 Answers3

6

Don't worry, if you enabled the URLs again, Google's web crawlers will notice and crawl your pages again. The message will disappear from GWT within days.

Eventually, you may test your robots.txt with GWT's corresponding feature.

Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
5

use this plugin

https://wordpress.org/plugins/wp-robots-txt/

it will remove previous robots.txt and set simple wordpress robots.txt and wait for a day

problem can be solved.

sprytechies
  • 455
  • 2
  • 8
4

Google can take a while to re-crawl your site. I'd say waiting is probably your only option.

I've had it take up to 7 days to index things properly after submitting a complete site map via webmaster tools.

It looks like you're using Yoast SEO, that plugin should tell you if any other issues exist.

brockis
  • 81
  • 3