Title: Forbidden Error
Last modified: August 20, 2016

---

# Forbidden Error

 *  [ysm-design](https://wordpress.org/support/users/ysm-design/)
 * (@ysm-design)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/forbidden-error-5/)
 * Hi.
    my Website hacked. after restore website, when I want open a category link,
   show Forbidden Error. Error:
 *     ```
       Forbidden
   
       You don't have permission to access this file on this server
       Apache/2.2.8 at .... Port 2020
       ```
   
 * in each post page, didn’t show error,this error just show in every category page(
   archive).
    ???????

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

 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/forbidden-error-5/#post-3232241)
 * Hi,
 * First, with your FTP browser (for example : Filezilla), download the file called
   HTACCESS that is in the WWW root folder. of your website.
    If something seems
   to be strange into the file, paste the code here.
 *  Thread Starter [ysm-design](https://wordpress.org/support/users/ysm-design/)
 * (@ysm-design)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/forbidden-error-5/#post-3232246)
 * just this code:
 *     ```
       # BEGIN WordPress
   
       # END WordPress
       ```
   
 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/forbidden-error-5/#post-3232250)
 * OK, so there is no rules to block some files/folders.
 * But if there is nothing between **BEGIN WordPress** and **END WordPress**, it
   miss something important for WordPress…
 * Try by adding this :
 *     ```
       # BEGIN WordPress
   
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
   
       # END WordPress
       ```
   
 * Then save the file, and upload it to overwrite it.
    Then test again.
 *  [Riversatile](https://wordpress.org/support/users/riversatile/)
 * (@riversatile)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/forbidden-error-5/#post-3232255)
 * I forgot something important… If your site has been hacked.
 * Still with your FTP browser, check the Date/Time of the last modification of 
   each files first in your Theme folder ! Then in the root WWW, wp-admin, wp-includes
   folders.
    The hacker has perhaps used SQL injection to change your files hosted
   on your FTP server ! Folder permissions as well ! See with Filezilla.
 * What’s your website URL ?
 *  Thread Starter [ysm-design](https://wordpress.org/support/users/ysm-design/)
 * (@ysm-design)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/forbidden-error-5/#post-3232271)
 * I checked All Date/Time. All Files is true.
 * I add that code in HTACCESS file, but show error yet.
 * Website Url: [http://www.acch.ir](http://www.acch.ir)

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [ysm-design](https://wordpress.org/support/users/ysm-design/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/forbidden-error-5/#post-3232271)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
