Need help?

Our experts have had an average response time of 11.7 minutes in August 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Resolve 403 forbidden error using cPanel

by | Sep 21, 2021

Wondering how to resolve 403 forbidden error using cPanel? We can help you.

As part of our Server Management Services, we assist our customers with several WHM queries.

Today, let us see how our support techs resolve this error.

How to resolve 403 forbidden error using cPanel?

403 Forbidden Request error is one of many HTTP codes that indicate server or website problems.

There are two main reasons for this:

1.Your web host has set up access permissions.

Certain actions can trigger these permission settings.

For instance, if you’ve logged in from multiple tabs on your browser, or if you’ve logged in too many times within a short span of time, your web host may have set up an automated system to flag this kind of activity as suspicious, since it could be a hacker or a bad bot.

This will block your IP address and you will see a 403 error code.

2.There may be a misconfiguration in your WordPress files.

There are three ways you can fix the 403 error :

1. Disable your .htaccess file

2. Disable your plugins

3. Check your WordPress file permissions

Disable .htaccess file

Download a copy of the .htaccess file before you make any changes.

Step 1: To access the .htaccess file, log into your web hosting account. Go to cPanel > File Manager, and open a folder called public_html.

Step 2: Inside the public_html folder, you should see three other folders called wp-admin, wp-content, and wp-includes along with files like index.php and wp-config.php.

You can also find the .htaccess file. In case you don’t see it, go to Settings and select Show Hidden Files.

This will reveal the .htaccess file.

Step 3: Select and download the .htaccess file as a backup copy.

Step 4: Next, select and delete the .htaccess file.

Now, access your website and see if the forbidden error message has been resolved.

If it has, then it’s an issue with your .htaccess file.

To generate a new .htaccess file, login to your wp-admin dashboard.

Go to Settings > Permalinks and simply click on Save Changes.

This will automatically generate a new .htaccess file for you.

You may be interested in learning more about the .htaccess file.

Check file permissions

Every file and folder on your WordPress site has a set of permissions.

This determines who can access these files and who can make changes.

There are three permission settings:

Read – The user can only view the data and contents of a file or folder

Write – The user can make modifications, add or delete files

Execute – The user can run and execute files and perform functions and commands.

If these permissions are incorrectly configured, it could cause a number of errors including the 403 Forbidden Request.

To fix your WordPress file permissions, follow these steps:

Step 1: Go to cPanel > File Manager, and open a folder called public_html.

Step 2: Then, manually checking the file permissions for each file and folder would be exhausting.

Instead, you can view your file permissions collectively first.

Inside the public_html folder, you’ll see the last column displays the file permissions which is a 3-digit number:

WordPress recommends the following file permissions:

Files – 644 or 640

Directories – 755 or 750

If you see that these permissions are incorrect, you can fix it by selecting the file or folder and then choosing Permissions.

A box will open up with the permission settings which is a three-digit code:

Next, you need to apply permissions to your WordPress files.

Make sure you stick to the recommended file permissions, which are 644 or 640 for WordPress files and 755 or 750 for directories or folders.

Disable plugins

Plugins offer cool functions and can enhance the performance and appearance of your site.

But many times, a plugin can become incompatible with the WordPress core.

This can happen especially if you haven’t updated your plugins for a while.

Step 1: Log into your hosting account and go to cPanel > File Manager.

Step 2: Open public_html.

Then, open the wp-contents folder.

Step 3: Find the folder called Plugins and rename it to Plugins_Disable.

Step 4: Now check if your website to see if the 403 error has been resolved.

If it’s a plugin issue, then we recommend that you log into wp-admin.

Step 5: Next, activate your plugins one at a time.

Each time you activate a plugin, reload your site to check if the error comes back.

This will help you determine which plugin is causing the error.

You might need to update the plugin to fix the issue or contact the plugin developer to get the problem resolved.

In case it’s a nulled plugin, we advise you to delete it from your site immediately and opt for a trusted alternative from the WordPress repository.

One of these steps should resolve the 403 Forbidden Request Error on your website.

In case, you’re still facing the error, we’ve detailed a few options that you can use to get further help in a later section.

[Need further assistance? Contact us now]

Conclusion

In short, we saw an effective method our Support Techs employ to resolve 403 forbidden error using cPanel.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

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

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF