Title: [Plugin: Google XML Sitemaps] google webmaster tools error
Last modified: August 20, 2016

---

# [Plugin: Google XML Sitemaps] google webmaster tools error

 *  [1magicfun](https://wordpress.org/support/users/1magicfun/)
 * (@1magicfun)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-google-webmaster-tools-error/)
 * When I submit sitemap.xml in google websmaster tools, I get the following error:
 *     ```
       URL restricted by robots.txt
       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.
       ```
   
 * I opened up robots.txt and it says this:
 *     ```
       User-agent: *
       Allow: /
       ```
   
 * Why am I getting this error and how do I correct it?

The topic ‘[Plugin: Google XML Sitemaps] google webmaster tools error’ is closed
to new replies.

 * ![](https://ps.w.org/google-sitemap-generator/assets/icon-256x256.png?rev=2713572)
 * [XML Sitemap Generator for Google](https://wordpress.org/plugins/google-sitemap-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-sitemap-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-sitemap-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-sitemap-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-sitemap-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-sitemap-generator/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [1magicfun](https://wordpress.org/support/users/1magicfun/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-google-xml-sitemaps-google-webmaster-tools-error/)
 * Status: not resolved