Have you ever had the “403 Forbidden” error on your WordPress site? It is about one of the most frightening mistakes a beginner may encounter. In this article, we will show you how to easily solve the “403 Forbidden” error on WordPress. Before you do anything, we recommend that you back up your website completely. If you use an automatic backup plugin for WordPress, make sure you have access to the latest backup before you continue.

1. Resolved the “403 Forbidden” error caused by the damaged .htaccess file

Often, the 403 error caused by a .htaccess file is corrupted on your WordPress site. Restoring this file is pretty easy. First you must connect to your website using an FTP client or a file manager in cPanel.

Then find the .htaccess file in the root of your WordPress site. You must download the file .htaccess on your computer to create a new backup. Then you must delete the file from your server.

error 403

Try to access your website. If the “403 Forbidden” error is resolved, it means that your .htaccess file was indeed corrupt. You can generate a new file .htaccess by logging in to your WordPress management area and going to the next location ” Settings> Permalinks “.

Simply click the save settings button at the bottom of the page and WordPress will generate a new .htaccess file .

2. Fixed “403 Forbidden” error caused by file permissions on WordPress

All files stored on your site have file permissions. These file permissions determine the access to files and folders on your website. Incorrect permissions can cause the 403 error. They even let your web server believe that you do not have access to these files.

If the above solutions do not fix the 403 error on your site, the wrong permissions are probably the cause. You can ask your WordPress hosting provider to check the file permissions. some hosts would basically solve the problem for you.

Changing the file permissions themselves can have serious consequences. If you do not feel comfortable doing it yourself, ask a friend for help or contact our customer service.

However, if you want to do it yourself, here is how to check your file permissions. Log in to your WordPress site using FTP client . Browse to the root folder with all your WordPress files.

permission error 403

Right-click on the folder and select the file permissions on the menu. Your FTP client will display a dialog with file permissions as follows:

modify permission

  • All reports from your WordPress site must have a file permission or 744 755.
  • All files on your WordPress site must have a file permission or 644 640.

You can set the file permission in the root folder to 744 or 755. Check the box next to “Recurse in subdirectories” , then check the option ” only applies to folders”.

Click the OK button. Your FTP client will now start setting permissions on all subfolders in that folder.

When you are done, you must repeat the process for all files. This time you use the file authorization of 644 or 640 and of course select the options “Recurse in subdirectories” and “Only applicable to folders” .

Click the OK button and your FTP client will start setting the file permissions for all selected files. Now try to get access to your website, the 403 error should now be gone. Remember that if the problem persists, you can always contact our customer service.

We hope this article helped you to fix the error ” 403 Forbidden About WordPress. If you have comments or suggestions, please let us know in the appropriate section.