- Refresh the Page
- Double Check the Address
- Clear your browser’s cache and cookies
- Check if you have Permission to Access the URL
- Try Again Later
- Contact your ISP
- Disconnect from your VPN
- Log into your cPanel
- Scroll down to the files section and then click on File Manager.
- Click public_html, go to the wp-content folder and locate the plugins folder.
- Click the plugins folder and select Rename.
- Give the folder a new name, for example, “plugins.bk”. your plugins will be automatically deactivated
After deactivating the WordPress plugins go back to your website and reload the page if your website opens fine, it means that you have a problem with WordPress plugins.
Your next step is to figure out which one it is. - Go back to your cPanel and rename the plugins folder back to “plugins”.
- Go to the Plugins page in the WordPress dashboard and activate the plugins one by one.. Keep doing this until you can reproduce the error.
- Once you have identified the faulty plugin, you can either replace the plugin with an alternative one or contact its developer for support.
- First, you need to login to your cPanel
- Go to the files section and then click on File Manager.
- Select the .htaccess file and edit it(If you can’t find it, go to the settings and enable the “show hidden files” option.)
- Now you need to replace the content of your htaccess file with the content of the original htaccess and then click on the “Save Changes” button
- You can check the WordPress code here if you do not know the content of the original .htaccess file
- Replace the content of the .htaccess file
2. All folders stored on your website have 755 file permission. If the file permissions are incorrect, the web server does not allow the user to access the Webpage then change the file permission that is defined above.
After changing all file permissions of files and folders then click on the “Ok” button to save the file permission. Content Delivery Network (CDN) If you continue to receive the 403 Forbidden error after following the steps above, you may have a problem with your Content Delivery Network (CDN).
It is a network of servers located in different parts of the world, with each server hosting a copy of your website. Many hosting plans come with a CDN to boost your site’s performance. To see if your CDN is the cause of the error, you will need to temporarily disable it. Verify the A Record if your domain name points to the wrong IP address, where you are not authorized to view content, the 403 forbidden error can also occur. If you have recently transferred your site from one host to another and did not change the nameservers, your domain may still be pointing to your old web host. Once the old host deletes your account, it will cause a 403 error status code. Therefore, check that your domain name points to the correct IP address, if not, point your domain’s nameservers or A record to the correct servers. Malware Scan Another cause of the 403 error is malware. If your WordPress site becomes infected with malware, it may continue to inject unwanted code into the .htaccess file. This way, even if you continue to fix the file using the first method provided, the error will still persist. Scan your website for malware. There are many WordPress security plugins like Sucuri or Wordfence to do this. Rolling Back to Recent Updates If you recently updated the CMS itself just before the 403 Forbidden Error appeared, you might want to consider rolling back to the previous version you installed when everything was working properly. Likewise, any extensions or modules you’ve recently updated can also cause server-side issues, so downgrading to older versions of those can also help. Unexpected Database Changes Uninstalling a CMS extension does not guarantee full recovery of changes. This is especially true for WordPress extensions. These extensions have carte blanche status within an application, which gives them full access rights to the database. With this access, an extension can modify database records that do not “belong” to the extension itself. This means that it can modify records created and managed by other extensions of the same CMS. In these scenarios, the extension may not know how to undo changes made to database records, so it will ignore those items when uninstalling. Your best course of action, assuming you’re reasonably convinced that an extension is the likely culprit of the 403 forbidden error, is to open the database and manually look at the tables and records that have likely been modified by the extension. Application Code or Scripts If all else fails, manually debug the application by analyzing the application and server logs. Ideally, make a copy of the entire application on a local machine and perform a step-by-step debugging process. This will allow you to recreate the exact scenario where the Forbidden 403 error occurred and visualize the application code at the moment something went wrong. You will need to contact support if none of the listed steps worked for you. Understanding the problems causing the error is crucial for fixing them in a timely manner – before the website suffers from traffic loss.