When 403 Forbidden Error Occurs
How To Fix A 403 Error
In this tutorial we will walk through how to fix Forbidden 403 errors. With these http WordPress Forbidden 403 errors, they are generally caused by the same thing that causes
http 500 errors like your plugin issues and corrupted htaccess files. can also cause this. But we won’t be concentrating on those two issues today. There is a “how to fix http 500 errors” in another video.
We will talk about the most overlook issue in this video that causes 403 Forbidden errors. Some of the issues that can cause these errors are:
- File access permission
- Incorrect values on your WP admin folder
- File set to read only
- incorrect values on your index file
Let’s get started!
You will need access to your cpanel to perform this action. And as always, make sure you have a full backup of your website.
- Scroll down and find file manager and click on it. Make sure the website you’re working is selected. Make sure hidden files is checked. Right click wp-admin and right click “change permissions.”
- YOU ONLY NEED TO CHANGE PERMISSIONS IF IT IS WRONG!
Now that we are in wp.admin folder, just verify the correct values are there.
Permissions should be set at 7 5 5 and make sure “write is not checked. You don’t want hackers to be able to write to your file. If everything is correct, click cancel without making any changes.
One other thing, take a look at all your core folders. Wp includes, Wp content, all should have the same exact file permission setting of 755 with the same rights.
But here is something different, take a look at your index.php file which is a very important file. If it’s messed up, you have no site. It will show a white screen and just some words saying “index.” The file permission for this one is actually set different. It should be set at 644.
Scroll down and find index.php, right click and click on it to open it. It is generally set at permission 644 for all hosting companies, although some may have it set different.
So again, if your wp_admin folder has the right permission 755, then your 403 Forbidden error code is not set by a bad file permission issue. It may be a plugin conflict, corrupted .htaccess file or can be something on your hosting server that is causing this. And that’s how you fix a 403 Forbidden Error.