Skip to main content

How to fix a 403 Error from cPanel?

Updated yesterday

There are several situations in which error 403 can appear on the website, below you will discover the most common ones so that you can immediately identify the origin of the problem:

  • When you restore a backup of your WordPress website.

  • If you manually install WordPress and cannot access the installer through the website.

  • If you haven't uploaded any content to your domain.

  • When using the WordPress administrator or any part of the website.

  • After installing or updating a plugin that is not working correctly.

  • The .htaccess file in the WordPress directory is incorrect.

How to solve error 403?

Access the File Manager

You can access the cPanel control panel of your website at: www.yourwebsite.example/cpanel
Then, look for the "FILES" section, and click on "FILE MANAGER".

File Manager cPanel SERED.NET

How to modify access rights?

Inside the "FILE MANAGER", you must go to the file you want to change, simply right-click and then select the "CHANGE PERMISSIONS" option.

Change permissions File Manager cPanel
Change access rights cPanel SERED.NET

In the "CHANGE PERMISSIONS" window, you must select the checkboxes to achieve the desired permissions and finally, click on the "CHANGE PERMISSIONS" button.

Remember that it is VERY IMPORTANT to set permissions 644 and 755 on all installation files and folders.

However, if all this is too difficult for you, don't worry. We suggest that you submit a ticket from the SERED.NET client area so that our team can help you solve the problem immediately. Probably, the technical department will do it in a few seconds, as it can be done from the server console in less than 5 minutes, provided you have the appropriate permissions between files and folders.

SEREDNET client area

What are the common cases of error 403?

When restoring a backup of the WordPress installation

If you move a WordPress website or restore an old copy of your website through a plugin or manually, it is necessary to verify the permissions of the files and folders of the WordPress installation, as mentioned in the previous point, to solve the error.

If you are manually installing WordPress and cannot access the installer through the website

If you manually install WordPress, download the WordPress files in a folder indicated by the domain, and when you try to view the installer in the browser, you see a 403 error.

In this case, you must verify all the permissions of the domain and installation folders, in addition to adding the correct ones. It is likely that you have not set them correctly, check it!

If you haven't uploaded any content to your domain

To correct this 403 error, all you have to do is upload the pre-created WordPress directory that points to the domain name.

When accessing the WordPress Administrator or any part of your website

In this case, the same thing happens as in the previous points 1 and 2. The first thing you should do is check the access rights to the files and folders of the WordPress installation.

If this does not solve the problem, we recommend checking points 5 and 6.

After installing or updating an incompatible plugin

If you are installing a plugin and just saw an error, we recommend that you first check the permissions and, if they are correct, try disabling all the plugins from the "WordPress Administrator", search and click on "Plugins".

It is best to activate them one by one until you find the plugin that is causing the failure.

If you cannot log in because this plugin is active, you must manually remove it by changing the name of the plugin in the cPanel file manager.

The .htaccess file in our WordPress directory is incorrect

Often, information is added to the .htaccess file that is responsible for redirects or permalinks in WordPress or is modified by active plugins and causes an error on your website, causing the 403 error.

The solution is to use the cPanel control panel: host panel, Block Files, File Manager, and navigate to the public_html directory and finally to the directory to which this error points.

There, in the "WordPress Administration" you will find the .htaccess file and all you have to do is rename it and click on "Rename File". Finally, click on "Save changes in WordPress Administration, Settings, and Permalinks" to recreate the .htaccess file and it will display the WordPress user interface correctly.

Did this answer your question?