File or directory permissions
The web server user cannot read the file or enter the folder. This is the classic cause after a manual upload or restore.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
A 403 Forbidden means the server understood the request and refuses to fulfill it, so logging in again will not help. The usual causes are file or directory permissions, a firewall or security rule, or an account without the right role.
| Code | Meaning | Will logging in help? |
|---|---|---|
| 401 Unauthorized | Valid credentials are missing or wrong | Yes, the server asks you to authenticate |
| 403 Forbidden | Credentials are known or irrelevant, but access is refused | No, authenticating again makes no difference |
| 404 Not Found | No such resource, or the server hides that it exists | Not applicable |
MDN notes that a server may send 404 instead of 403 to avoid revealing that a resource exists: MDN: 403 Forbidden.
The web server user cannot read the file or enter the folder. This is the classic cause after a manual upload or restore.
A directory without an index page, with directory listing disabled, returns 403 on many servers.
Deny rules in .htaccess, nginx location blocks, or an IP allow list reject requests that do not match.
A web application firewall, rate limiter or security plugin flags the request, the IP address or the country.
Logged in, but the account lacks the role for that page or action, common in admin areas and APIs.
The site refuses requests with a certain referrer, user agent or missing headers.
A path ending in a folder name can return 403 when directory listing is off. Try the home page instead.
A stale or corrupted session cookie can cause an access refusal. Clear cookies for that site only, then sign in again.
Sites often block data-center and VPN IP ranges. Test from a normal connection.
If the page is members-only or admin-only, your account may need a role. Ask the site owner.
Send the URL, the time and your IP address so they can find the matching log or firewall entry.
Google states that 401 and 403 should not be used to limit crawl rate. Apart from 429, 4xx responses have no effect on crawl rate, and a blocked URL is treated as content that does not exist. If a security rule blocks Googlebot by mistake, pages can drop out of the index.
It means the server understood your request but refuses to authorize it. Unlike a 401, providing credentials again does not help, because the refusal is based on permissions, rules or the source of the request, not on missing login details.
Rarely. It can come from a bad cookie, a VPN or proxy IP the site blocks, or an extension that changes request headers. Test in a private window without a VPN. If it still fails, the refusal is set on the server.
A 401 means authentication is missing or invalid and the response should name the scheme to use, so retrying with credentials can work. A 403 means the server knows who you are, or does not care, and still refuses.
Yes, if it hits pages you want indexed. Google treats 403 like other 4xx errors: the content is ignored and indexed URLs are removed. Check that your firewall or CDN does not return 403 to Googlebot or other search crawlers.
Access rules usually apply per path. Admin folders, API routes, uploads directories and files with restrictive permissions are the usual candidates. Compare a working path with a failing one and check the rules and permissions that differ.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.