403 Forbidden WordPress Error Table of Contents:
We all have noticed once in a while that WordPress site sometimes shows the message which depicts us “Forbidden,” or we don’t have permission to access something on the website. These errors can be irritating sometimes. This error is quite tricky, and sometimes it creates a problem. In this blog, I discuss what is 403 forbidden WordPress error and how to resolve it.
What is 403 Forbidden WordPress Error?
The 403 Forbidden WordPress Error happens, when the web page that you are trying to open in your browser is not allowed to access.
Reasons for getting this error:
• When the owners of the webserver have appropriately set up access authorizations, and you can’t access that.
• When the permissions are improperly set up by the owner of the webserver, and you’re getting denied access when you really shouldn’t be.
Different Names Of 403 Forbidden Error
- HTTP 403
- Error 403
- HTTP Error 403 – Forbidden
- HTTP Error 403.14 – Forbidden
- 403 Forbidden
- Forbidden: You don’t have permission to access [directory] on this server
- Error 403 – Forbidden
Why 403 Forbidden error occurs?
The forbidden error occurs due to the following reasons.
A • If you have recently created a new blogpost and edit the old blogpost
B • It mainly occurs after the installation of WordPress.
C • When you unable to access any page.
D • During the migration of WordPress website as in case of migration from lie server to the local one.
Ways of Fixing 403 Forbidden Error in the WordPress
Create a Backup: Before you begin fixing a 403 error on your WordPress website, it is necessary to do the backup. Backup ensures you return to the previous position. It is a must to do the backup.
- Disabling the WordPress Plugins
- Resetting file and folder permissions
- Rename your .htaccess file
Disabling the WordPress Plugins
Sometimes faulty or corrupt plugins can create a 403 forbidden error. In the case of plugins, you can disable all at a time instead of doing it one by one. Following are the steps in disabling the plugins:-
- Make use of FTP software for accessing your hosting account.
- Check out public_html folder( You can also check the folder in which installation files of WordPress are present)
- Now find the wp-content folder on the page.
- Find out the plugins folder now.
- Now you are required to name it again to “disables-plugins.”
- After disabling all the plugins, reaccess the website.
- Now it is time to check whether the problem has fixed or not?
- If the problem fixed, then it has happened due to plugins.
- In case if you want to find which plugin is causing a problem, then you can reactivate your plugins one by one till you don’t find the corrupted one.
- Now you can change the name of disables-plugins to plugins.
- You can now see the complete list of plugins again, but these are all deactivated now.
- Make these activate by clicking on the Activate button.
Resetting file and folder permissions
Do you know? When a file created, it comes up with default permissions. These permissions monitor the reading, writing, and executing files for future use. But sometimes 403 error forbidden message come up due to wrong permissions on your separate files and as well as on the folders. For solving this problem, you need to edit the folder and file permissions. It can be done with the help of FileZilla FTP client. Follow these steps:-
- Firstly you have to take access to your website by deploying any FTP client. Go to the root directory of the wp-content folder.
- Now you ought to select the main folder in which all the website files are there like public_html
- Just right-click on that.
- Select file attributes.
- Now you are required to select only apply to directories only.
- Enter the permission 755 as in the format of the numeric value
- Press OK.
- Now you have to follow the above steps for file attributes only. It means you have to select the Apply to files the only option.
- After that, enter 644 in numeric format.
- Now you are ready to access your website and check the error has gone or not.
Rename your .htaccess file
Sometimes you might don’t realize that the error can occur due to .htaccess file. It is a latent file. It stays in the project directory. If you are making use of Cpanel, then these steps are needed
- Trace File Manager from the hosting Control Panel
- You can look for .htaccess file In the public_html directory,
- In case if you are unable to find the .htaccess, then you can make click on Settings
- Then you are ready to enabled Show Hidden
- In case you are not able to find .htaccess file, if in case it is not deleted unintentionally, then manually, you can create .htaccess file.
- If you find .htaccess file, then you can download the .htaccess in your PC for doing a backup.
- Now you can delete this file.
- You are now ready to access your website.
- Now you can check if it is working correctly. If it works properly, then the .htaccess file is corrupt.
- For generating a new .htaccess file which is free from the error, start login to the WordPress dashboard
- After that, click on the settings.
- Now go to Permalinks.
- You are now ought to click on the Save changes button present at the bottom area of the page.
By doing so, the new .htaccess file generated.
- Why WooCoomerce is Best for Online Store (eCommerce Website)
- WordPress Dashboard and Its Amazing Features
- How to Login to WordPress Admin Dashboard of Your Website
- WooCommerce vs Shopify
- How to Fix the Product Page not Found WooCommerce (Error 404)
WordPress is simple to use. But sometimes, it creates different errors. One of the errors in the 403 forbidden error. In this blog, we have described What is 403 forbidden error? The different names of 403 forbidden error, Why it occurs also. Here I have explained the quick fixes as well. In this article, “how to resolve the error 403 or 403 forbidden error in WordPress” is explained with points. If you have any doubts, ask freely in the comment box. I hope it works for you in case you encountered this error.