Title: Error 403
Last modified: August 22, 2016

---

# Error 403

 *  Resolved [ramonjosegn](https://wordpress.org/support/users/ramonjosegn/)
 * (@ramonjosegn)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-403-424/)
 * Hello dear
 * I am testing with the htaccess code and my webiste show
 * error 403
 * thanks for support
 * [https://wordpress.org/plugins/gator-cache/](https://wordpress.org/plugins/gator-cache/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [cahqeenee](https://wordpress.org/support/users/cahqeenee/)
 * (@cahqeenee)
 * [11 years ago](https://wordpress.org/support/topic/error-403-424/#post-5931537)
 * The same problem.
    When I copy apache rules and placed in .htaccess I found the
   error message 403 on post pages but not on the [home page](http://cahborneo.com).
 * There is a solution?
 *  Plugin Author [GatorDog](https://wordpress.org/support/users/gatordog/)
 * (@gatordog)
 * [11 years ago](https://wordpress.org/support/topic/error-403-424/#post-5931538)
 * You could try removing the .htaccess file from the “gator_cache” directory. Typically,
   the cache directory will be in the main root, parallel to wp-content. However,
   when you go to the GatorCache admin, it will copy the file back. So make sure
   when you try this, you do not log back into the Gator Cache settings before testing.
   If this is the issue, please let me know. It’s possible that older versions of
   Apache wouldn’t support this type of directory protection (that the htaccess 
   file in the cache directory provides).
 *  [cahqeenee](https://wordpress.org/support/users/cahqeenee/)
 * (@cahqeenee)
 * [11 years ago](https://wordpress.org/support/topic/error-403-424/#post-5931539)
 * I have tried, the results remain error 403.
    Probably true, it’s possible that
   older versions of Apache would not support this type of directory protection.
 *  [bdnosp](https://wordpress.org/support/users/bdnosp/)
 * (@bdnosp)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-403-424/#post-5931543)
 * Hello,
 * Here is the error i found in my server logs :
 *     ```
       Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
       ```
   
 * I found a solution here.
    [http://www.blog.magepsycho.com/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/](http://www.blog.magepsycho.com/invalid-command-header-perhaps-misspelled-or-defined-by-a-module-not-included-in-the-server-configuration/)
 * But of course you need to have access to your apache configuration.
 *  Plugin Author [GatorDog](https://wordpress.org/support/users/gatordog/)
 * (@gatordog)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/error-403-424/#post-5931544)
 * Thanks for the info, if this is the issue and you can’t enable mod_headers on
   your server, or get your hosting company to enable, you can change these parts
   of the htaccess:
 * 1) Change:
 *     ```
       <filesMatch "\.(html|gz)$">
           Header set Vary "Accept-Encoding, Cookie"
           Header set Cache-Control "max-age=5, must-revalidate"
       </filesMatch>
       ```
   
 * To:
 *     ```
       <IfModule mod_headers.c>
       <filesMatch "\.(html|gz)$">
           Header set Vary "Accept-Encoding, Cookie"
           Header set Cache-Control "max-age=5, must-revalidate"
       </filesMatch>
       </IfModule>
       ```
   
 * 2) Change:
 *     ```
       Header unset Last-Modified
       ```
   
 * To:
 *     ```
       <IfModule mod_headers.c>
           Header unset Last-Modified
       </IfModule>
       ```
   

Viewing 5 replies - 1 through 5 (of 5 total)

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

 * ![](https://ps.w.org/gator-cache/assets/icon-128x128.png?rev=983272)
 * [Gator Cache](https://wordpress.org/plugins/gator-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gator-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gator-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/gator-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gator-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gator-cache/reviews/)

## Tags

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

 * 5 replies
 * 4 participants
 * Last reply from: [GatorDog](https://wordpress.org/support/users/gatordog/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/error-403-424/#post-5931544)
 * Status: resolved