A 403 Forbidden error means the server received and understood the request but refuses to show the page or file. Unlike a 404, the page hasn’t gone anywhere: a rule on the server, in your host’s security layer, in Cloudflare, or in a security plugin has closed access to it.

If you own the site, start with who it is turning away. If it’s everyone, you’ll notice within minutes. If it’s only some visitors or search engine bots, the site can look fine to you for weeks while pages drop out of Google. This guide covers where a 403 comes from, what you can check yourself, when to bring in a developer, and how to protect your rankings. Just a visitor? Jump to “Seeing a 403 on someone else’s site?”

What does 403 Forbidden mean?

403 is one of the HTTP status codes. A browser or a search bot asks for a page, and the server answers with a code and, if needed, content. 200 means “here’s the page”; 403 means “I know what you want, but you can’t have it.” As MDN explains, signing in again doesn’t help: even after you log in, the server won’t let you through if your account or address isn’t allowed here.

These codes are easy to mix up:

CodeWhat the server saysWhat it means for you
401 Unauthorized“Sign in first”the page is behind a login; it opens once you sign in
403 Forbidden“You’re not allowed here”an access rule fired: file permissions, server config, bot protection, an IP block
404 Not Found“There’s no such page”the URL was deleted or changed without a redirect
429 Too Many Requests“Too many requests, slow down”a rate limit or an “are you human?” check fired
5xx“Something broke on our side”an error in the code, the database, or at the host

The error page itself varies: a short “403 Forbidden” with the server name (nginx, Apache), a Cloudflare page with a Ray ID, a “security check” screen from your host, or a message from a WordPress security plugin. The name at the bottom of the page often tells you which layer said no, and that’s the first clue for your developer.

Four kinds of 403 page: “403 Forbidden nginx” from the web server, “Access denied” from a CDN, a host’s “Security check” screen, and a security plugin message

Seeing a 403 on someone else’s site?

It isn’t a permanent ban: the site refused this particular request. Reload, try a private window, turn off your VPN, or switch to mobile data. If nothing works, the problem is on the site’s side, so contact its owner. The rest of this guide is for site owners.

Who is getting the 403: everyone, some people, or bots?

The answer decides how urgent it is and where to look.

  • Everyone. Nobody can open the site or a section of it. It’s usually a fresh change: a plugin update, a move to a new host, new file permissions, a rule in .htaccess. You’ll see it at once, and it’s the fastest to fix.
  • Some people. The site works for you, but a customer in another country, on a VPN, or on a corporate network gets a 403. IP or country rules, your host’s firewall (WAF), or Cloudflare are the usual suspects.
  • Bots only. People see the site, but Googlebot or AI crawlers get a 403. This is the most dangerous case: you notice nothing while Google quietly drops your pages from its index.

Where a 403 comes from: the request path

Several layers sit between a visitor and your page, and each of them can answer 403 on its own without passing the request further:

  1. A CDN and security service such as Cloudflare: firewall rules, country blocks, bot-fighting modes, “are you human?” challenges.
  2. Your host’s protection: an anti-bot filter, ModSecurity, IP blocklists. It’s configured in the hosting panel, so you won’t find the rule in your site’s code.
  3. The web server (nginx or Apache): deny rules in the config, Deny from all or Require all denied in .htaccess, a ban on listing a folder that has no index file.
  4. Files on disk: wrong permissions or the wrong file owner after a migration or a copy.
  5. The CMS and plugins: WordPress security plugins (Wordfence, Solid Security, and the like) block IPs, countries, and “suspicious” requests, while user roles close off sections. We cover WordPress’s limits against custom development in WordPress vs Laravel.

You can usually tell which layer refused from the error page and the response headers: server: cloudflare and cf-ray point to Cloudflare, a hosting-branded page to your host’s protection, and a bare “403 Forbidden nginx” to the web server.

Request path diagram: CDN, host protection, web server, files, CMS and plugins; any layer can answer 403, otherwise the visitor gets the page with a 200

A real case: our host blocked AI crawlers

On November 3, 2026, during an SEO audit of strymba.com, we requested the home page as different bots. A browser, Googlebot, and Bingbot got 200. GPTBot and OAI-SearchBot (OpenAI), ClaudeBot and Claude-SearchBot (Anthropic), and PerplexityBot got 403, even on robots.txt and llms.txt, although robots.txt allowed them to crawl.

There was no such rule in our code. The response came from the host’s nginx: its bot protection had flagged these crawlers as unwanted. On November 4, Strymba’s owner turned the block off in the hosting panel, and those bots started getting 200. Then, on December 1–3, CCBot, DuckAssistBot, and Amazonbot got a “security check” page with a 429 code from the same protection: the host’s rules change without telling us.

So check what your site returns to bots separately from what you see in a browser. Since then, our monitoring requests robots.txt and the home page as Googlebot, Bingbot, and AI crawlers every three hours and logs a warning if the answer isn’t 200.

strymba.com responses on November 3, 2026: Chrome, Googlebot, Bingbot got 200; GPTBot, OAI-SearchBot, ClaudeBot, Claude-SearchBot, PerplexityBot got 403, then 200 from November 4

How to fix a 403 Forbidden error: symptom, cause, fix

In short: find out who gets the 403, recall the last change, then roll it back or find the rule that fired in Cloudflare, your hosting panel, .htaccess, or a security plugin.

SymptomLikely causeWhat to do
The whole site returns 403 after an update or a movefile permissions or owner, a rule in .htaccess, no index fileroll back the last change; a developer checks permissions, file owner, and .htaccess
403 on one page or section onlya rule for that path in the server config, CMS, or a plugin; the page is restricted by rolecheck the page settings in the CMS and the rules for that path
403 in the admin area (/wp-admin/, /admin/)a security plugin or the host blocked your IP or countrysign in from another network, then unblock the IP in the plugin or hosting panel
Works for you, 403 for a customer abroad or on a VPNa country or IP block in Cloudflare, the host, or a pluginreview country and IP rules; don’t block whole countries without a reason
A Cloudflare page with a Ray IDa Cloudflare firewall rule or bot protectionfind the request in Security Events and change the rule that fired
A “security check” screen or a host-branded pagethe host’s anti-bot protectionadd an exception in the panel or ask the host’s support
Search Console reports 403 for pages that open for youprotection is blocking Googlebottest the URL with URL Inspection; allow verified Googlebot
A form or checkout returns 403 on submita WAF or plugin flags the request as an attack, or the form token expiredcheck the WAF log, reload the page, review the plugin settings

What you can check yourself

None of these steps needs server access, and together they take a few minutes:

  1. Open the page in a private window and in another browser. If it works there, the problem is your browser’s cookies or cache, not the site.
  2. Turn off your VPN and open the site on your phone over mobile data. A different IP address shows whether there’s an IP or country block.
  3. Think about what changed in the last few days: CMS or plugin updates, hosting settings, Cloudflare, a migration, a new contractor.
  4. Look at the error page: whose is it (nginx, Cloudflare, your host, a plugin), and is there a request ID? Take a screenshot.
  5. In Search Console, open URL Inspection and run a live test. It shows what Googlebot sees right now, and the Page indexing report shows whether any URLs are listed under “Blocked due to access forbidden (403)”.

If you only see the 403 in the admin area, it’s most often a security plugin or your host blocking your IP after a few failed sign-ins. Sign in from another network, such as mobile data, and unblock the IP in the plugin. If that doesn’t work, contact your host’s support.

When to call a developer, and what to send them

Call a developer if everyone sees the 403 or Search Console flags working pages. Do the same if it hits a contact form or checkout, or if you can’t find the refusing layer within an hour. While it lasts, enquiries from those pages don’t reach you, and a long outage can cost you pages in Google.

To help them start right away, send:

  • the URLs that show the 403 and when you noticed;
  • who sees the error: everyone, certain people, or only Search Console;
  • a screenshot of the error page with its request ID, if there is one;
  • recent changes and access: hosting panel, Cloudflare, CMS.

What a developer usually checks:

  • permissions: folders 755, files 644 (or whatever the host requires), files owned by the user the site runs as;
  • .htaccess and the nginx config: deny rules, Require all denied, IP restrictions, an index.php or index.html in place;
  • web server, ModSecurity, and hosting logs: which rule fired on a specific request;
  • Cloudflare: Security Events by Ray ID (cf-ray), WAF rules, country blocks, bot-fighting modes;
  • what bots receive: curl -I -A "Googlebot" https://your-site/ shows the code, but protection may let real Googlebot through and stop a fake one, so confirm with URL Inspection in Search Console.

Does a 403 error hurt SEO?

Yes, and Google treats it like a 404. According to Google Search Central, every 4xx code except 429 tells the crawler that the content doesn’t exist, and URLs already in the index that return one are removed from it. Google doesn’t say how long that takes, but every day Googlebot gets a 403 puts your rankings at risk.

What that means for you:

  • Don’t use 403 to throttle bots. Google says 401 and 403 don’t slow crawling down; only 429 and 5xx errors do.
  • Don’t block Googlebot by the name in the User-Agent header. It’s trivial to fake, so Google’s crawler is verified by reverse DNS and IP ranges, and Cloudflare, for example, has a separate category of verified bots you can let through.
  • If you don’t want AI crawlers on your site, say so in robots.txt instead of hitting them with an error. That makes the decision visible and easy to change.
  • After a fix, run URL Inspection in Search Console, make sure the live test returns 200, and request indexing for your main pages.
  • Check the site separately after a migration or redesign: new file permissions and new protection rules often appear right then. Our website redesign page explains how we move sites without losing rankings, and what SEO is in digital marketing covers how search evaluates a site.

Who makes sure your site doesn’t return 403?

A 403 rarely breaks a site for good, but often nobody notices it until enquiries or Search Console impressions fall. Hosting protection, plugin updates, and Cloudflare rules change without your involvement, so the site needs regular checks before customers start complaining.

At Strymba, website maintenance starts from $100 per month. It covers monitoring of uptime, errors, and key forms, dependency updates and security fixes, and technical SEO tasks such as finding out why Googlebot gets a 403 and removing the cause.

403 Forbidden error FAQ

01

What’s the difference between a 403 and a 404 error?

A 404 means there’s no page at that URL. A 403 means the page or file exists, but the server won’t show it to this visitor or to anyone. For Google the result is the same: a URL with either error gradually drops out of the index.

02

Is a 403 error a permanent ban?

No. The server refuses your request because of a rule: your IP, country, VPN, or a bot check. A 403 lasts as long as that rule does: automatic blocks after failed sign-ins often expire on their own, while a configuration mistake stays until someone fixes it.

03

What’s the difference between 401 and 403?

401 means the server doesn’t know who you are yet, and valid credentials may let you in. 403 means the server may know exactly who you are, but the rules don’t allow this request, so signing in again won’t change that.

04

How quickly does Google remove a page that returns 403?

Google doesn’t give an exact timeframe. It recrawls the page and, after repeated 403 responses, removes it from the index. Fix a 403 for Googlebot the same day.

05

Can I return a 403 to bots I don’t want on my site?

Technically yes, but for search and AI crawlers a robots.txt rule works better: they follow it, and you can see who you’ve restricted and where. Keep 403 for genuinely malicious traffic.

06

Is a 403 in my admin area a sign of a hack?

Usually not. Most often a security plugin or your host blocked your IP after a few failed sign-ins or a sign-in from another country. If you also see unknown users, files, or redirects, contact a developer.

Next step

Is your site returning 403, or not sure what bots see?

Tell us where you spotted the error, and we’ll check access for people and Google and suggest a maintenance plan.

Discuss website maintenance