Latest Posts
Home =>> Fix Error =>> Fix Wordpress Error =>> Fixing the 403 Forbidden Error in WordPress
Forbidden(403) Error

Fixing the 403 Forbidden Error in WordPress

This 403 Forbidden error comes only when you have following three problems with your website.For the beginners ,they  may feel that this is the server side issue,and they contact the hosting provider people or their server administrator.But they have to check from their side before contacting the hosting people.This error looks as shown in below image.

fix code error 403 forbidden error

This page says that

You don’t have permission to access / on this server

Server unable to read htaccess file.denying access to be safe

Additionally, a 403 Forbidden error was encountered while trying to use an Error Document to handle the request.

The main reasons to have this error are three
1.Problem with one of your WordPress Plugins
2.Problem with .htaccess file
3.And Problem with wp-admin folder permissions
Let us see the solution for the first issue.

Note: Before doing anything to your website please have a backup of your website for safety(Show your ProActness)

1.Problem with one of your WordPress Plugin

First login to your control panel using FTP.Then open wp-content>>Plugins.One of the plugin may cause this error so,rename this plugins folder to some other name for example rename it to plugins12.Now browse your website,if your website is opening then you are done and you can say that you are great for being fixed this error.Okay,Now rename back plugins12 to plugins and check individual plugin by renaming them to another.Then you can find the main plugin that is causing this error.Delete that plugin and reinstall with new version.

If your error is not fixed with above solution then go with below simple procedure.

2.Problem with .htaccess file

This 403 Forbidden error may cause by misconfigured Rewrite rules which are written in your .htaccess file.No worries,simply delete the .htaccess file or rename it to .htaccess12 which is located in main root directory.If you are not able to this .htaccess file then it might be in hidden.Check the hidden files and delete this .htaccess file.Now browse your website URL if it is opening then you are done.Now create default .htaccess file by logging into your website WordPress dashboard.In which go to Settings>>permalinks and click on Save Changes button as shown below.Now it will create .htaccess file with default rewrite rules.

permalink_404error

If you are not fixed the error with above solution then go with below step 3

3.Problem with wp-admin folder permissions

Login to your control panel using FTP.Go to wp-admin and right click now click on file permissions as shown in below image.
folder permission
When you click on File Permissions it will prompt a window as shown below below.
file permissionchange
By default all the files of your wordpress site should have the file permission of 640 or 644 and folders should have 744 or 755. Check whether your website files and folders are having the above permissions respectively.If not change those permissions,this permissions allows server to send that particular folders and files to the user upon his requests.
Maximum with the above three solutions your 403 forbidden error must be fixed.If still you are having the same then contact your hosting provider.

Note: Before doing anything to your website please have a backup of your website for safety(Show your ProActness)

Happy Coding.!

Leave a Reply

x

Check Also

Creating magento customers custom group,

Steps to Creating Magento Customer’s Custom Groups

Create a Magento Customer’s Custom Group Setting up a custom user group in magento is very easy. You can create a new group from the admin admin area of Magento. You just go to Admin ...