How to Resolve an HTTP 403 Forbidden Error
An HTTP 403 Forbidden error can take your website offline in an instant. One minute your pages load normally, and the next your visitors see an empty screen that says access is denied. It is one of the most common errors on the web, and the message gives no clue as to what went wrong.
The good news is that a HTTP 403 error is usually fixable in minutes. We’ll break down what causes it and how to fix it.
What Is a HTTP 403 Forbidden Error?
A 403 Forbidden error is an HTTP status code telling the browser that the server understood the request but refused to allow it. Unlike a 404 Not Found error, where the page does not exist, a Forbidden Status 403 means the file is there and access is denied.
Think of a HTTP 403 as a blanket no. The server refuses without explaining why and the refusal can hit a single file, a folder, or your whole site.

You will usually see one of these messages:
- 403 Forbidden
- Error 403
- Access Denied
- You don’t have permission to access this resource
With no reason given, fixing a HTTP 403 means working through likely causes in order.
Common Causes of a Forbidden Status 403 Error
Most HTTP 403 errors trace back to one of these issues:
File permissions set too restrictively.
- Files set to restrictive values such as 600 or 400 cannot be read by the web server. This is the most common cause.
Rules in the .htaccess file.
- Deny rules, broken redirects, or syntax errors can block visitors site-wide.
IP address blocks.
- Security plugins, firewalls, and server-level rules can block specific IPs or ranges.
A missing index file.
- If a folder has no index.html or index.php and directory browsing is off, the server returns a forbidden status 403.
Hotlink protection.
- Overly aggressive settings can block legitimate image requests.
Security plugins and bot protection.
- Firewalls sometimes flag legitimate visitors as threats.

How to Fix a HTTP 403 Error
Work through these steps in order. Most HTTP 403 errors are resolved by the first or second step.
1. Check your file permissions
Since wrong permissions are the most common cause. Log in to StackCP, included with all Midphase shared hosting plans, and open the File Manager. Files should be set to 644 (owner read/write, everyone else read) and folders to 755 (owner read/write/enter, others read/enter). Files set to 600 or 400 cannot be served.
To fix many files at once, use the built-in File Permissions Checker (Web Files section, then Scan File Permissions), select any flagged files, and choose Fix Selected.
Our knowledge base article on 4xx errors has more detail.
2. Review your .htaccess file
A corrupted or overly strict .htaccess file is the second most common cause. Open it in the File Manager and look for Deny from lines or Require directives that block IPs. To test, rename it to .htaccess.bak and reload your site. If the site loads, that was the problem. On WordPress, go to Settings, then Permalinks, and select Save Changes to rebuild standard rewrite rules.
3. Disable plugins and extensions
Security plugins scan requests and enforce firewall rules, so they are the most likely plugin cause of a http 403; caching and redirect plugins can too. Rename the plugins folder (for example, plugins to plugins.off) using the File Manager and reload. If the error clears, reactivate your plugins one by one until you find the culprit. On Midphase WordPress hosting, plugin and theme management is handled for you, removing this class of error.
4. Clear your cache
Browser and server-side caches can serve a stale page that returns a forbidden status 403. Clear your browser cache and cookies, then try another browser or an incognito window. If the error comes from a caching plugin or CDN, purge its cache and test again.
5. Check security plugins and bot protection
Some 403s are blocks that went too far. Log in to your security plugin and check the blocked IPs list. Add your own IP to the allowlist if it appears. On Midphase, StackProtect filters suspicious requests and can occasionally flag a legitimate connection. If you see a connection-checking message before the HTTP 403, contact support and we will review the block.
6. Contact your host
If the error survives all the above, it may sit at the server level, where you cannot see it. Firewall rules, corrupted server configuration, or an account issue could be the cause. Contact Midphase support, and our team will check the server logs to pinpoint the cause. Support is available 24/7/365.
When to Contact Support
You can resolve most 403 errors on your own, but contact support right away if:
- The 403 affects your entire site, not one page or folder.
- The error started after a server configuration change you cannot reverse.
- You suspect your site was compromised. Unusual firewall blocks can be the first sign of an attack.
If your site was hacked, Midphase offers managed security clean-up. Our Level 3 engineers investigate the breach, remove malware, and harden your applications. Do not wait as the longer a compromised site is left alone, the more damage it can do.
For everything else, raise a support ticket through your control panel or use live chat. Include any error messages and note whether the error affects everyone or just you.
Frequently Asked Questions
Q: What does a HTTP 403 error look like?
A: A HTTP 403 error appears as a nearly blank page with a message such as 403 Forbidden, Error 403, or Access Denied, and no website content. Wording varies by browser and server.
Q: What is the difference between 403 and 401?
A: A 401 Unauthorized means your login credentials are missing or were rejected. A 403 Forbidden means the server knows who you are but refuses access anyway. In short, a 401 is an authentication problem and a 403 is an authorization problem.
Q: Can a plugin cause a HTTP 403 error?
A: Security plugins are the most common offenders because they block anything that looks suspicious, but caching, redirect, and performance plugins can also cause HTTP 403s. If the error started after a plugin install or update, disable that plugin first.
Q: How do I change file permissions in StackCP?
A: Log in to StackCP, open the File Manager, right-click the file or folder, select Permissions, enter the new numeric value, and save. Files should be 644 and folders 755. You can use the File Permissions Checker in the Web Files section to scan and fix everything at once.
Q: Can my IP be blocked?
A: Yes. Security plugins, firewalls, and server-level rules can block individual IPs or ranges. If the site works on your phone but not your computer, your IP is likely blocked. Check your security plugin’s blocked list and allowlist your IP.
Q: How do I fix a 403 error on WordPress?
A: Check file permissions and .htaccess first, since WordPress relies on both. Then disable all plugins by renaming the plugins folder, clear your cache, and regenerate permalinks from Settings, Permalinks. If the error persists, restore from a recent backup.
Q: Will a HTTP 403 error hurt my SEO?
A: A brief HTTP 403 on a single page will not hurt rankings because search engines treat it as temporary and retry the URL. Problems start when a 403 blocks crawlers for days or weeks across many pages. Fix it promptly and check Google Search Console for crawl errors.
Popular This Week
Recent posts
-
What Is a 500 Error and How to Fix It: A Complete Guide
-
How to Migrate Your Website to a New Host Without Losing Traffic
-
Email Deliverability 101: SPF, DKIM and DMARC Explained
-
How to Speed Up Your WordPress Website: 12 Practical Tips
-
VPS Hosting Explained: What It Is, What It Costs and Who Needs It