Title: Sitemap 403 Error
Last modified: April 5, 2017

---

# Sitemap 403 Error

 *  Resolved [VitaminDave](https://wordpress.org/support/users/vitamindave/)
 * (@vitamindave)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/sitemap-403-error/)
 * Hi There,
 * Thanks for an awesome plugin, we’ve been using it happily on lots of sites and
   its great! However, its causing a 403 forbidden error on sitemaps generated by
   both Yoast SEO and Google XML Sitemaps plugins. Deactivating All in One and removing.
   htaccess rules solves the issue, but of course, I’d prefer not to do that! I’ve
   tried deactivating basic, 6G and legacy 5G firewall protection, but they don’t
   seem to help. Could you shed any light on the cause for me?
 * Thanks,
 * Dave

Viewing 1 replies (of 1 total)

 *  Thread Starter [VitaminDave](https://wordpress.org/support/users/vitamindave/)
 * (@vitamindave)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/sitemap-403-error/#post-8995652)
 * I solved the issue! Just posting here in case any help to anyone else! The hosting
   environment required a a redirect to be set for the domain root folder, EG:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /~mydomain/
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /~mydomain/index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * This caused the 403 error as the plugin’s .htaccess rules block urls ending in
   a ~
    -  This reply was modified 9 years, 1 month ago by [VitaminDave](https://wordpress.org/support/users/vitamindave/).
      Reason: Resolved

Viewing 1 replies (of 1 total)

The topic ‘Sitemap 403 Error’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

## Tags

 * [403 error](https://wordpress.org/support/topic-tag/403-error/)
 * [firewall](https://wordpress.org/support/topic-tag/firewall/)

 * 1 reply
 * 1 participant
 * Last reply from: [VitaminDave](https://wordpress.org/support/users/vitamindave/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/sitemap-403-error/#post-8995652)
 * Status: resolved