HomeWordpressHow ToBest Tips To Fix The 403 Forbidden Error in...

Best Tips To Fix The 403 Forbidden Error in WordPress

What is a 403 Forbidden Error

The 403 Forbidden error in WordPress, is an HTTP status code which appears when we don’t have permissions to access a specific page or a resource on our website, most probably because of some improper configuration of our web server. In most cases, it may take more time to actually identify and find what exactly is causing this 403 forbidden error on WordPress, than fixing the error itself.

403 Forbidden Error in WordPress

In this article, we will go over what exactly the 403 Forbidden Error means when it appears on your WordPress sites, and how to easily fix the 403 forbidden error, access denied in WordPress.

403 Forbidden error in WordPress is shown when your permissions don’t allow access to a specific page. The error is usually accompanied by text as you can see in the above image.

There are different instances when you can see this error.

  • 403 Forbidden – Access denied on wp-admin or WordPress login page.
  • You may also see ‘Access to was denied. You don’t have the authorization to view this page.’
  • 403 Forbidden – during WordPress install.
  • It is also possible that you only get to see ‘Access Denied’ instead of full 403 Forbidden status.
  • 403 Forbidden error when visiting any page on your WordPress site.

Let’s talk about the cause of this error.

Causes of 403 Forbidden error in WordPress

The most common cause for the 403 Forbidden error in WordPress is due to poorly configured security plugins. Many WordPress security plugins can block an IP address (or a whole range of IP addresses) if they believe them to be malicious.

Amongst the other causes for this error are, incorrect file permissions, corrupt .htaccess file.

It is also possible that sometimes your WordPress hosting company make some accidental changes.

Now that we know the common causes of this error let’s take a look at how to fix 403 Forbidden error in WordPress.

1. How to Fix the 403 Forbidden Error in WordPress

Before you get started with fixing this error, don’t forget to backup your WordPress website to avoid loss of data. Make sure to have the latest backup before moving forward.

2. How to fix 403 Forbidden Error Caused by a WordPress Plugin

If a plugin is causing this error, it is important to find the culprit plugin. To do so, you’ll have to temporarily deactivate all WordPress plugins, including the security plugin.

If the error goes away, then it means that one of the plugins was causing an error. To find the culprit plugin, activate one plugin at a time until you find it.

3. How to fix 403 Forbidden Error Caused by Corrupt .htaccess File

A corrupt .htaccess file is another common cause of 403 Forbidden error in WordPress. Fixing it is quite easy.

First, you’ll have to connect to your website using an FTP client such as Filezilla or file manager in cPanel.

After that, locate the .htaccess file in the root folder of your WordPress site. Download the .htaccess file to your computer. Then, delete the file from your server.

delete .htaccess

After the above steps are done, try accessing your website. The 403 forbidden error should’ve been resolved.

4. How to fix 403 Forbidden Error Caused by File Permissions in WordPress

All the files stored on your website have file permissions. These file permissions are responsible for controlling who can access files and folders on your website. If there is an incorrect permission, then 403 forbidden error occurs.

If the error is not solved by above two methods, then incorrect file permissions might be the cause.

You’ll have to contact your WordPress hosting provider to check your website for correct file permissions.

Changing file permissions can be risky, it can have serious consequences. You’ll have to do it carefully.

Connect to your WordPress site using an FTP client such a Filezilla. Navigate to the root folder of your WordPress website.

file permission

After selecting File permissions, your FTP client will show you a file permissions dialogue box like this:

change file attributes

File Permissions of 744 or 755 are assigned to all the folders of your WordPress site. All files should have 644 or 640.

You can set the file permission to the root folder to 744 or 755 by checking the box next to ‘Recurse into subdirectories’ and then check the option that says ‘apply to directories only’.

Click OK button and your FTP client will now start setting permissions to all subdirectories in that folder.

Repeat the same process for all files as well. This time use file permission of 644 or 640 and don’t forget to select ‘Recurse into subdirectories’ and ‘apply to files only’. options.

Click OK button and your FTP client will now start setting permissions to all selected files.

Try using your website now, 403 forbidden error should be gone now.

We hope that at least one of the above three methods helped you fix the 403 Forbidden Error in WordPress. If you know any other method, please share with us in the comment section.

Girl Libra
Girl Libra
I am a blogger, I love blogging, love animals, and very pretty girl =)) I just wanna lay in my bed all the time with my laptop^^ I write about the tips on wordpress and provides domain, hosting coupons & promo codes, Thanks, Everyone!

- Advertisement -


Worldwide News, Local News in London, Tips & Tricks


- Advertisement -