HTTP 403 Forbidden
Status code 403 · Class 4xx
Forbidden
Also searched as: error 403, HTTP 403, 403 forbidden, access forbidden
What it means
403 Forbidden means the server understood who you are (or does not care) and refuses to give you this resource. Visitors see it on pages restricted by permissions, geo-blocking or a firewall; site owners see it from wrong file permissions, missing index files or security rules.
Applies to: All browsers, nginx, Apache, IIS, Cloudflare
How to fix HTTP 403 Forbidden
- Reload, then clear cookies for the site and log in again
- Check that the URL is correct; pointing at a directory without an index file often returns 403
- Disable VPN or proxy; many sites and firewalls block known VPN ranges
- If you think you should have access, contact the site owner with the time and URL
- If you own the site: check file permissions (commonly 644 for files and 755 for directories) and ownership by the web server user
- If you own the site: look for deny rules in .htaccess, nginx 'deny' or 'location' blocks, and WAF/security plugin logs (Cloudflare, ModSecurity, Wordfence)
- If you own the site: make sure an index file exists or directory listing is intentionally disabled
Why it happens
Per RFC 9110, 403 means the server refuses to authorize the request. Filesystem permissions, access rules, IP or country blocks, WAF rules and missing index files with listing disabled are the usual sources.
FAQ
Can a VPN cause 403 Forbidden?
Yes. Many sites and CDNs block or challenge traffic from VPN and data-center IP ranges.
How do I fix 403 Forbidden on WordPress?
Check file permissions, regenerate .htaccess by saving Permalinks, and temporarily disable security plugins to see which rule blocks you.
Related errors
Source: IANA HTTP Status Code Registry · fixes written and reviewed by the editors (see our editorial policy)
Last updated: