How to Fix 403 Forbidden WordPress Error

403 forbidden wordpress error

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?

What is 403 Forbidden 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.

Also Check: 5 Most Common WordPress Errors

Different Names Of 403 Forbidden Error

  1. HTTP 403
  2. Forbidden
  3. Error 403
  4. HTTP Error 403 – Forbidden
  5. HTTP Error 403.14 – Forbidden
  6. 403 Forbidden
  7. Forbidden: You don’t have permission to access [directory] on this server
  8. 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.

  1. Disabling the WordPress Plugins
  2. Resetting file and folder permissions
  3. Rename your .htaccess file

Disabling the WordPress Plugins

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:-

  1. Make use of FTP software for accessing your hosting account.
  2. Check out public_html folder( You can also check the folder in which installation files of WordPress are present)
  3. Now find the wp-content folder on the page.
  4. Find out the plugins folder now.
  5. Now you are required to name it again to “disables-plugins.”
  6. After disabling all the plugins, reaccess the website.
  7. Now it is time to check whether the problem has fixed or not?
  8. If the problem fixed, then it has happened due to plugins.
  9. 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.
  10. Now you can change the name of disables-plugins to plugins.
  11. You can now see the complete list of plugins again, but these are all deactivated now.
  12. Make these activate by clicking on the Activate button.

Resetting file and folder permissions

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:-

  1. Firstly you have to take access to your website by deploying any FTP client. Go to the root directory of the wp-content folder.
  2. Now you ought to select the main folder in which all the website files are there like public_html
  3. Just right-click on that.
  4. Select file attributes.
  5. Now you are required to select only apply to directories only.
  6. Enter the permission 755 as in the format of the numeric value
  7. Press OK.
  8. 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.
  9. After that, enter 644 in numeric format.
  10. Now you are ready to access your website and check the error has gone or not.

 Learn to Resolve: WordPress Error 404 Page Not Found

Rename your .htaccess file

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

  1. Trace File Manager from the hosting Control Panel
  2. You can look for .htaccess file In the public_html directory,
  3. In case if you are unable to find the .htaccess, then you can make click on Settings
  4. Then you are ready to enabled Show Hidden
Files option.
  1. 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.
  2. If you find .htaccess file, then you can download the .htaccess in your PC for doing a backup.
  3. Now you can delete this file.
  4. You are now ready to access your website.
  5. Now you can check if it is working correctly. If it works properly, then the .htaccess file is corrupt.
  6. For generating a new .htaccess file which is free from the error, start login to the WordPress dashboard
  7. After that, click on the settings.
  8. Now go to Permalinks.
  9. 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.

Final Thoughts

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.

Leave a Reply

Your email address will not be published. Required fields are marked *