How Do I Fix A HTTP Error 403 – Forbidden?
To fix an HTTP error 403, you should first look at the URL and make sure it’s a proper URL directing you to a specific page. If it’s trying to direct you to a directory or folder within the site then you’ll usually get this error because most sites do not openly allow directory browsing.
What Causes A HTTP Error 403 – Forbidden?
If you see this error, it’s probably because the site owner has limited access to it and you don’t have permission to view it. This error can prompt a number of messages depending on your browser and will be displayed in the browser window.
The most common of them include, but aren’t limited to:
- Error 403
- 403 Forbidden
- Error 403 – Forbidden
- HTTP Error 403 – Forbidden
- Forbidden: You don’t have permission to access “directory name here” on this server
If you’re using Internet Explorer and see “The website declined to show this webpage”, that’s actually a 403. You should see the error in the title bar.
It’s also possible that you may need to log in to the site. While normally you’d get a 401 error in this case, sometimes it may trigger a 403 instead.
If the URL is correct and it’s not a case of needing to login, try clearing your cache and cookies.
Fix HTTP Error 403 – Forbidden On WordPress Sites
Plugins – Fixing this error on WordPress sites is normally a matter of properly configuring your plugins, especially security plugins. If you’ve recently installed a new plugin, deactivate it and see the error goes away. If so, look at the settings to make sure it’s set up properly.
.htaccess – If it’s not a plugin, the next possible cause to investigate is your .htaccess file. Download a copy of it so you have a backup, then delete it from your site and see if the error goes away. If so, there’s a problem with your .htaccess file. You can try to fix it or you can simply generate a fresh one.
To generate a new .htaccess file in WordPress, go to Settings > Permalinks. Hit the save button and it will create a new .htaccess file.
Permissions – It may also be a problem with your permissions. Go to the File Manager in cPanel. Then go to the public_html folder and make sure your files have the following settings (Right click and select change permissions or click the Permissions tab to see what they’re set to and to change them if needed):
- Folders – 0755
- Files – 0644
Helpful Related Articles
- Hostwinds Tiers Of Support
- Common Reasons A Website Is Not Loading
- My Server Is Not Working Correctly – What Should I Do?
- What To Do When Your Site Is Down?
If you are receiving a 403 error and would like to request an inquiry to the issue, please feel free to Open A Support Ticket with our technical department.