
“403 Forbidden Access to this resource on the server is denied!” is one annoying error in a website. The bad about this error it could be a result of many problem. The reason why i listed all the working solutions here. You can fix the error “403 Forbidden Access to this resource on the server is denied!” with the following solutions.
- Check error log
Login to your website c-panel, and search for error log. There, enter and take note of the error logs (written in rolls). The error log shows error similar to this:
**2024-03-28 00:31:50.816734 [INFO] [2251833] [T0] [141.0.12.98:44246#APVH_sagegamut.com:443] File not found [/home/inresite/public_html/403.shtml] **
Without delay, here are proven fixes for the 403 error:
Check the web site URL. If it appears mispelled, you should retype the URL with the correct spelling. If it’s mispelled during domain registration, you should consult your registra to have it fix. If you find that it’s well spelled in your register but the error still shows, you should remove and install your Content Management System (CMS) with the correct URL. Any of these steps should fixed 403 error associated with mispelled URL.
Perform a Hard Refresh: Partial backup your website data (Databases, Directory and Emails), and login to your hosting provider. Find Advanced>Settings area. There you should find website data and delete. Alternatively, for c-panel users, login to your c-panel, search for File manager, mark all root folders and files, and delete. Then, restore the database. Reload website page and check if the 403 error is still there. If no more, restore directory and reload again. Do this so you can identify which backup part of the website contains the 403 error. Once you identify the part, go through it and remove the latest updates occurred in the backup part that was the cause of the error.
Clear Browser Cache, cookies & data. Sometimes 403 error could relate to the piled up browser cache, cookies & data. Go to your browser’s Settings>Privacy & Security>Clear browsers data=Advanced and clear all cache. Reload your website page!
Disconnect from VPN. If your browser VPN extension is ON, make sure you OFF the extension as it may be the cause of 403. Reload the page!
Link hosting DNS records with domain registra. Check if your web hosting DNS records are correctly linked to your domain registra. Especially the A and CNAME records should be linked correctly!
Check Index Page. Check if your website index page is at root directory. If missing, reinstall your content management system software, Index page will automatically be created.
Change Your File Permissions. Login to your website root directory, and check if root folder public_html or the like are accessible read and write. Highlight the necessary root folder and right-click then click through the root permission option on the list.
Deactivate Your Plugins. Lots of WordPress users have complained about some WordPress plugins causing 403 error. So, i want you deactivate plugins one after the other, and make sure you reload your website page each time so you can identify which plugin is causing the error, and have it deleted.
Delete and Restore the .htaccess File. All CMS automatically added .htaccess file, which mostly locate at website root directory, where your web site reads and write. Make sure you backup the .htaccess file and delete it. Reload web site if it works. Then upload it back.
Deactivate Your CDN. Suppose your registra enables Content delivery network (CDN) extension in your domain, make sure you deactivate extension because being ON could be the cause of 403 error.
12 Check Hotlink Protection. In your registra, check hotlink protection. If enables, disabled it. And if disabled, enable it. Check your web site for each action.
Set website PHP. The 403 error may be due to misconfigured of web site MultiPHP Manager not corresponding to web site PHP version . To fix this, login to C-panel or to your website hosting admin, find PHP version and upgrade to higher version let say 8.2. Make sure the PHP Selector is at 8.2 before you hit save! Find MultiPHP Manager, and upgrade to version as the same as the PHP version at 8.2. This should fix the 403 error. If your content management system can’t take higher PHP version, downgrade to lower version. Again, make sure the PHP version and MultiPHP Manager are reading the same!
Contact Your Web host. If you find difficult to getting 403 error fixed, you should contact your web hosting provider for immediate fix. Otherwise, ask for refund and check in other hosting provider
Any of these fixes should resolve the “403 Forbidden Access to this resource on the server is denied!”. Now your turn!