How to Fix the 403 Forbidden Error in WordPress/ cpanel/ Mac

How to Fix the 403 Forbidden Error in WordPress/ cpanel/ Mac

 

Are you dealing with the 403 Forbidden error on your WordPress site? It is 1 of the most dreadful errors that a WordPress blogger can come across. In this article, we will show you how to easily fix the 403 forbidden error in WordPress.

 

What is a 403 Forbidden – Access Denied Error in WordPress?

WordPress shows codes and messages when an error occurs on your website.

There are Many different scenarios when you can see this error. example:

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

Now that you know about the different types of 403 errors, let’s talk about what causes this error.

 

 

Fixing 403 Forbidden Error in WordPress

Before you do anything and we recommend that you create a complete WordPress backup of your Blog. Here is our guide on how to manually create a WordPress backup.

If you were already using an automatic WordPress backup plugin or then make sure that you have access to a latest backup before moving forward.

1. Fixing 403 Forbidden Error Caused by a WordPress Plugin

First thing you need to do is to temporarily deactivate in WordPress all plugins. This includes any security plugins that you may have installed on your Website.

If this resolves your problem, then this means one of the plugins on your site was causing this error.

You can figure out which plugin was causing the error by activating all your plugins one at a time until you are able to reproduce the 403 forbidden error.

2. Fix 403 Forbidden Error Caused by Corrupt .htaccess File

Often the 403 error is caused by a corrupt .htaccess file in your site. Repairing this file is quite easy.

First you need to connect to your site using a FTP client or file manager in cPanel.

Next, locate the .htaccess file in the root folder of your WordPress Blog. See this guide if you can’t find .htaccess file in Your WordPress folder.

You are need to download the .htaccess file to your computer so that you have a fresh backup of it. After that, you need to delete the file from your server. Niche..

 

Try accessing your site. If 403 forbidden error is resolved, then this means that your .htaccess file was corrupted.

You can generate a fresh .htaccess file by logging into your WordPress admin area or going to Settings » Permalinks page.

Simply click on the Save Changes button at the bottom of the page or WordPress will generate a fresh .htaccess file.

 

Leave a Reply

error: This Plugins Block Your IP Address so don\\\'t copy