WordPress 403 Forbidden Error

Sometimes you might have got the following WordPress 403 forbidden error while working on a WordPress instance.

Main reason for this could be a file permission issue. Just open your site in an ftp client such as filezilla and change the permission of those folders and files (make sure to select the recurring option) and set it to 755. This should solve your problem.

403 Forbidden
You don't have permission to access /wp-admin/themes.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

If not, your .htaccess file must have been corrupted. Backup your .htaccess file and replace the content of your file with the content below.

# BEGIN WordPress
 RewriteEngine On
 RewriteBase /
 RewriteRule ^index\.php$ - [L]
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
 # END WordPress


I hope things are working great for you now.

Did you enjoy this article?
Signup today and receive free updates straight in your inbox. We will never share or sell your email address.

Leave a Reply