Vertical line design

403 Forbidden Error

Share This Post What is 403 forbidden error? Similar to many other WordPress issues, the 403 Forbidden error is an HTTP

Last Update

No Comments

189 Views

No Comments

What Is 403 Forbidden Error?

straight line

Similar to many other WordPress issues, the 403 Forbidden error is an HTTP status code that a web server uses to communicate with your web browser. “Access to that resource is forbidden.” This message is displayed when a user tries to access a resource they are not authorized to view.

Solutions

straight line

Check Security Plugins

WordPress security plugins with improper security settings are the main reason for the 403 Forbidden error. Many WordPress security plugins have the ability to ban an IP address (or a group of IP addresses) if they think it is harmful. You should first temporarily deactivate every WordPress plugin. This applies to any security plugins you have set up on your website. If your problem is resolved then any plugins on your website must be the cause. Activating each plugin one at a time until you can recreate the 403 forbidden error will help you identify which plugin was the reason for the error.

Fix Error By Corrupt .Htaccess File

So what you need to do is to copy the .htaccess code from the WordPress website and edit it in the .htaccess file.

# BEGIN WordPress

RewriteEngine On

RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteBase /

RewriteRule ^index\.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

# END WordPress

People usually use this code for basic WordPress; you can find codes according to your site type here.

 Every WordPress installation will include a .htaccess file that you can access through your hosting control panel or FTP client. When you host multiple sites, your web server will also have multiple .htaccess files.

By pasting above code into the file you will be able to remove errors from your site.

Fix Error By File Permissions In WordPress

Simply use an FTP programme to connect to your WordPress website. Go to the root folder where all of your WordPress files are present.

Click to select a folder, then use the menu that appears when you right-click to choose File Permissions.
A file permissions dialogue box like the one below will appear in your FTP client:

The file permissions for every folder on your WordPress website should be 744 or 755.

The file permissions for every file on your WordPress website should be 644 or 640.

For the root folder, you can choose between the 744 and 755 file permissions. Check the box next to “Recurse into subdirectories,” and then select “Apply to directories only.”

As soon as you click the OK button, your FTP client will begin changing the file permissions for all of the selected files. Your website should now be accessible without receiving a 403 Forbidden message.


Share:

You may also like

WordPress White Screen of Death

WordPress White Screen of Death There is nothing worse than trying to access your…

Read more

 Keep Users Engaged: 7 Email Notification Strategies That Work

Engage users and unlock infinite possibilities together Share This Post Have you explored the…

Read more

Celebrating 20 years of WordPress

As we mark the 20th anniversary of WordPress, the world’s most popular content management system…

Read more

No Comments

Have something to say?

Comments

Leave a Reply

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