Trying to access your WordPress site, but seeing a 403 Forbidden error? Well, that means the page you are trying to access is forbidden due to some reasons which you need to figure out. The same also comes mentioned in the 403 error message stating “You don’t have permission to access / on this server”.
In order to resolve the problem, the first thing that you can try is to delete the file from the server and access the WordPress site again. If error 403 forbidden resolves after deleting files, that means the .htaccess file was corrupted. Thereafter, you can regenerate the. htaccess file by logging in to your WordPress, navigate to Settings > Permalinks. If it doesn’t work out, then you must try the series of steps as we have described in this article. Let’s get started with the error 403 – Forbidden basics.
403 forbidden error is a type of HTTP status code that means accessing the page or source is forbidden due to some reasons.
The web server generally uses Forbidden error 403 to communicate with the web browser. It means that the webserver is able to understand the request that the web browser has made, but is unable to fulfill it. In that aspect, we can consider Forbidden error 403 as an HTTP status code that the webserver uses in order to communicate with the web browser.
Related Post: 405 method not allowed error
Reasons that cause error 403 Forbidden to occur while accessing the WordPress site. Following are the leading ones:
Just as with other HTTP status codes, this error code appears on-screen in different forms. Here are different variations that you may get to see.
Now let’s learn how to deal with error 403 forbidden most effectively.
Related Post: 429 too many requests
Dealing with forbidden error 403 is simple. You can try to modify the file permissions, create a clean and new .htaccess file and try to deactivate/reactivate the plugins. For detailed instructions run through the following troubleshooting steps.
Each folder or file on your WordPress site’s server has the ability to control who can read, write and execute the files. A unique 3 digit number indicates the level of permissions for these 3 categories. Here is the detailed description for the above categories.
Read – Permission to access or view data in the file.
Write – Permission to add or delete the files in a folder.
Execute – Permission to run the file or execute as a script.
In case if these file permissions are messed up or something is not as it then most likely you will end up facing 403 forbidden error WordPress. To fix it, you must view and modify the file permissions by connecting via FTP/SFTP.
For your understanding, we have used the free FileZilla FTP program as it is one of the most commonly used FTP clients for WordPress sites. Here are the steps.
These steps should resolve the 403 forbidden error if it occurs due to incorrect file permissions.
Another reason causing 403 forbidden error WordPress is your WordPress site’s .htaccess file. It is a basic configuration file that most web servers like Apache uses to perform relevant operations. However, minor hiccups can cause troubles like popping up of error 403. To fix it, you must try to generate a clean .htaccess file by following the steps below.
If creating a new .htaccess file and rectifying the file permissions couldn’t resolve the 403 forbidden error, then WordPress plugins could be the culprit. Deactivating and reacting to the plugins might help.
There might be some chances of bugs in the WordPress plugins or compatibility issues between plugins causing error 403. With some simple trial and error, you can identify the problematic plugin and fix it.
In short, you will need to deactivate all the plugins and reactivate them one by one until you reach the real culprit plugin. You can perform this action directly from the WordPress dashboard and by visiting the plugins area.
However, if you face any difficulty accessing the WordPress dashboard then you must connect to your WordPress site server via FTP. Once you have connected to the FTP follow the below steps.
So that’s how you can easily deal with 403 Forbidden errors. The most likely reason for error 403 is incorrect file permissions (read, write or execute) which you can resolve by modifying via FTP. Beyond that generating a clean and new .htaccess file can work really well in fixing the forbidden error 403. If you are still facing any issue, and don’t want to be in a mess to fix it on your own, then you should connect with our experts at WordPress Help. We will help you get rid of errors 403 forbidden in no time.
Related Post: 401 error codeTagged with: 403 forbidden 403 forbidden error 403 forbidden error WordPress 403 forbidden WordPress error 403 forbidden error 403 forbidden fix how to fix 403 forbidden error what does 403 forbidden mean what is 403 forbidden what is a 403 error
On Time Delivery
24×7 WordPress Support
Cost Effective Services
Skills Wordpress Developers