Resolve sitemap.xml URL blocked by robots.txt warning msg in Webmaster tools

Hi Friends,

I have tried to index this site in Google Webmaster tools. But unfortunately I couldn’t. By default the robots.txt file blocked sitemaps.xml and google webmaster tool showing error message as

‘We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit.’

And the robots.txt shows the text as

User-agent: *
Disallow: /wp-admin/
Disallow: /wp-includes/

Sitemap: http://techydiary.com/sitemap.xml.gz

Here I didn’t do anything it created automatically by WordPress.

I googled  and spend half a day and installed WP Robots Txt plugin. But this didn’t help me out. then I have added robots.txt on document root directory.  Now it is working fine.

Cheers!


Django-Python Web based application developer.

Share This Post

Related Articles

Leave a Reply

© 2017 Techy Diary. All rights reserved.
Powered by Charvi Groups