Sitemap contains urls which are blocked by robots.txt
Asked Answered
C

3

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

Colorant answered 26/9, 2014 at 9:59 Comment(1)
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. In the future, please ask questions like this there.Farfamed
B
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.

Bullough answered 29/9, 2014 at 9:18 Comment(0)
R
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.

Ruffo answered 26/9, 2014 at 10:22 Comment(0)
R
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.

Rupe answered 26/9, 2014 at 10:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.