HTTP 403 is the status code a web server returns when it understood your request and refuses to fulfil it, and on a WordPress site common causes include a damaged .htaccess file, a security plugin or firewall rule, wrong file permissions, or a block set by the host. If the page is a live shop front, every hour it stays down is lost enquiries, so how a site is kept running belongs in any honest picture of website cost in South Africa.

This guide works the way a technician would: first find out who is blocked and where, then try the fixes in the order that carries the least risk, renaming files instead of deleting them so every step can be undone. It also covers what a 403 does to your Google visibility and when to stop and call your host.

Quick Answer

A 403 Forbidden error on WordPress means the server is refusing the request, not that the page is missing. Work out the scope first (everyone, only wp-admin, or only one network), then rename .htaccess and regenerate it from Settings > Permalinks, deactivate plugins by renaming the plugins folder, and check file permissions against WordPress's recommended values. If none of that clears it, the block is most likely at host, firewall or Cloudflare level, and your host needs to read the server log.

Locked out of your own website right now?

Send us the exact address that shows the error and what changed just before it appeared, and we will tell you which check to run first.

Send us the details

What Does an HTTP 403 Forbidden Error Mean?

An HTTP 403 Forbidden response means the server received a valid request, understood it and decided not to serve it. MDN's reference puts it as "the server understood the request but refused to process it", and notes that, unlike a 401, authenticating or re-authenticating makes no difference to a 403.

The number is what the server sends; the wording a visitor sees on the page is whatever the host or a plugin attaches to it.

That distinction saves you time. A wrong password gives a login failure, a missing page gives a 404, and a 403 says the server has a rule that refuses this request, one that logging in again will not get you past. MDN adds that some servers deliberately send a 404 instead of a 403 when they do not want to admit a resource exists, so the codes are not perfectly interchangeable in the wild.

Not every 403 is a fault. MDN describes it as a refusal tied to insufficient permissions for a resource or action, so a private folder that turns visitors away is the server doing its job. The problem is a 403 on a page that used to load, or on your own login.

Which Part of the Site Is Blocked, and for Whom?

The scope of a 403 (every visitor, only the admin area, or only certain networks) narrows the likely causes before you touch a single file. Each symptom below has several possible explanations, so the table pairs them with the check that tells them apart.

What you seePossible causesThe check that separates them
Every page and wp-admin return 403 for everyoneCorrupted or overwritten .htaccess; wrong permissions on core files; a host-level rule or an account problem on the hosting sideRename .htaccess and reload; compare permissions with the WordPress values below; ask the host whether the account or server has a block in place
Only wp-admin or wp-login.php returns 403Security plugin login protection; a firewall or Cloudflare rule; an IP block that now includes you; less often, a login-path rule written into .htaccessTry mobile data instead of your office Wi-Fi; check Cloudflare Security Events if you use it; rename the plugins folder; look in .htaccess only if those find nothing
Only one action fails (a form submit, an upload, a checkout step)A firewall rule matching that request pattern; a plugin; a permissions problem on one folderRead the host's error log or Cloudflare event for that exact request; retest with plugins off
You get 403, a colleague on another network does notIP-based block, rate-limit or country rule that includes your connectionTest from a different network; note the IP and the error's Ray ID or reference if one is shown
It started right after an update, migration or restoreFile ownership or permissions changed; .htaccess replaced; a security plugin re-enabled its rulesCheck permissions on the moved files; regenerate .htaccess; review what the plugin wrote into it

Takeaway: scope before fixes

If the 403 hits only you, or only one part of the site, suspect a security rule before suspecting corrupted files. If it hits everyone on every page, suspect .htaccess, permissions or the host. Writing down which one it is before you change anything makes the next step a test rather than a guess.

How to Fix a 403 Forbidden Error on WordPress, in Order

To fix an HTTP 403 WordPress error safely, work from the least invasive check to the most invasive one and rename rather than delete, so each step can be reversed in seconds. These steps assume you can reach your site files through your host's file manager or FTP. If your site does not run on Apache-style hosting, there may be no .htaccess to fix, and your host is the next call.

Step 1: Rule out your own connection and browser

Testing from another network and browser tells you whether the block follows the visitor or sits on the server. Open the page on mobile data, in a private window, and ask someone elsewhere to try. A 403 that disappears on another network points to an IP-based or rule-based block against your connection rather than a broken site.

Step 2: Rename .htaccess and let WordPress rebuild it

The .htaccess file is the configuration file WordPress uses on Apache to control how it serves files, and a corrupted or badly edited copy is one possible cause of a sitewide 403. The WordPress developer handbook has a page for restoring a corrupted .htaccess, for example after a misbehaving plugin.

In your file manager, find .htaccess in the site's root folder (the one holding wp-admin and wp-content; it can be hidden by default). Rename it to something like .htaccess_old and reload the site. If it loads, log in and go to Settings > Permalinks, then save. WordPress's own troubleshooting documentation says visiting that screen and resetting permalinks generates a new .htaccess file for you.

If wp-admin and wp-login.php also return 403, you cannot reach the Permalinks screen. In that case, ask your host to regenerate the file, or replace the contents of the renamed file with WordPress's default block, which sits between the lines "# BEGIN WordPress" and "# END WordPress" in the handbook's .htaccess page. This step applies only to sites served by Apache, the server that file is written for.

If the 403 returns after regeneration, something is writing deny rules back into the file, and the next step is the likeliest culprit. Open the old file and look for rules you do not recognise between plugin markers.

Step 3: Switch off every plugin by renaming the folder

A plugin, most often a security, firewall or redirect plugin, can return a 403 by design, so disabling all plugins at once isolates it. WordPress's documentation gives the method for when you cannot reach the admin screens: rename the plugins folder (it suggests plugins.hold) inside wp-content, test, then rename it back. The plugins stay deactivated until you reactivate them one at a time.

Reactivate them one by one, testing after each. The one that brings the 403 back is your cause. Check its settings for IP blocking, login limits and request filtering before deciding whether to replace it.

Step 4: Compare file permissions with the WordPress values

File permissions control which accounts can read, write or run each file, so a migration or restore that alters them is a plausible cause of a 403 and worth ruling out. The WordPress hardening guide does not tie permissions to 403s; it gives the baseline to compare against and recommends 755 for directories and 644 for files, with wp-config.php readable only by you and the web server, which it says generally means 400 or 440.

Your file manager shows the numeric value on each item. Fix the obvious outliers, and do not widen permissions so that every account can write to files, because that trades a 403 for a security hole. If a host-managed account uses different ownership, ask the host before changing anything in bulk.

Step 5: Check the hosting side

If renaming .htaccess, disabling plugins and correcting permissions change nothing, the block may be set at host level, where only the host can see the server log. That is troubleshooting logic rather than a documented rule. For server configuration problems more broadly, WordPress's permalink documentation says the hosting provider sets up the web server and that you contact the host when it is not configured correctly.

Open a ticket that makes the support agent's job short: the exact URL, the time it first failed, what changed before it, the steps above you have already completed, and your public IP address. Ask them to check the server error log for the rule that triggered the refusal.

Cost-wise, who fixes this is a maintenance question; our guide to what a website costs to run each year shows where that line belongs, and website hosting in South Africa covers what to expect from a host.

Fixed it once, scared it will happen again?

Send us your site address and we will tell you whether your setup has the monitoring and maintenance gaps that let a 403 sit unnoticed.

Ask for a timeline and fit check

Takeaway: the safe order

For an HTTP 403 on WordPress, change one thing at a time and make every change reversible. Test another network, rename .htaccess, rename the plugins folder, then compare permissions with the WordPress values. If nothing moves, stop editing files and take the evidence to your host.

When Cloudflare or the Host Firewall Is the One Blocking You

A firewall in front of the site can return a 403 when one of its security rules matches a request, which means the site files can be healthy while visitors are still refused. Cloudflare's documentation describes its Error 1020 this way: a security feature configured by the website owner blocked the request, and it returns HTTP 403.

If your site sits behind Cloudflare, the fix runs through the dashboard rather than WordPress. Cloudflare's guidance is that the owner searches the Security Events log using the Ray ID or the visitor's IP address, finds which rule blocked the request, and then updates that rule. If you are the visitor, you cannot change it, but you can send the site owner a screenshot of the error.

Our look at Cloudflare's free and Pro plans for South African sites covers what each tier gives you.

A security rule set at your host could work the same way, with healthy files and the evidence sitting in a log you cannot see. That is why Step 5 asks for the log: a block that lives in a rule will not be fixed by editing site files.

What an HTTP 403 Does to Your Google Visibility

An HTTP 403 left on a live page can cost you that page's place in Google's index, because Google treats 4xx errors as a sign the content is not available. Google's crawling documentation says that for 4xx status codes other than 429, the indexing pipeline removes the URL from the index if it was previously indexed. That page also warns against using 401 and 403 to limit crawl rate.

Google's documentation does not say how many days of 403s it takes before a URL drops, so treat the risk as open-ended rather than counting on a grace period. The practical rule is to fix a sitewide 403 the same day, and to avoid a deliberate 403 on pages you want ranked. If a page is gone on purpose, the better signal is a proper status; our comparison of 404 versus 410 for SEO explains the choice.

You also cannot fix what you do not see. A monitor that checks the page every few minutes and emails you turns a silent weekend 403 into a same-morning fix. Our guide to website uptime monitoring covers the setup, and the website down checklist is the wider triage for when the whole site is unreachable.

Why South African Businesses Choose Growth Pulse Media

A 403 that keeps coming back is a sign the site is not being looked after, and that is the gap our web design service is meant to close. Growth Pulse Media is a Johannesburg agency whose founder, Dirk van Greuning, built and scaled a large South African ecommerce business first, so a website is treated as a sales asset that has to stay reachable. All work is executed in-house, with a limited client load for senior attention.

If your 403 turns out to be a symptom of a site nobody maintains, that is a conversation about how the site is run, and it starts with a free audit or consultation. No obligation, and we will get back to you within 24 hours.

Who This Is NOT For

This guide is not for visitors blocked on someone else's site, owners with no file or host access, or sites that block access on purpose.

You are a visitor, not the owner. A 403 on a site you do not run is a rule on their side. Cloudflare's advice to visitors is to send the owner a screenshot of the error; nothing in these steps is yours to change.

You cannot reach files or the hosting panel. Every fix here needs a file manager, FTP or your host. If a developer or agency controls access, send them the scope table and what you saw rather than asking for a general "fix".

The 403 is intentional. A private folder or a staging site that refuses outsiders is working as designed. Changing permissions to "fix" it would remove the protection.

Not sure how well your site is looked after?

Ask for a free audit and we will go through your hosting, maintenance and monitoring and tell you where the gaps are.

Request a free audit

Frequently Asked Questions

What does HTTP 403 Forbidden mean?

It means the server understood your request but refused to process it. Per MDN, unlike a 401, authenticating again makes no difference. On a WordPress site, common causes include .htaccess, a plugin or firewall rule, file permissions, or a host-level block.

What is the difference between a 403 and a 404 error?

A 404 says the page was not found; a 403 says the page may exist but the server will not serve it to you. MDN notes that some servers send a 404 instead of a 403 to avoid revealing that a resource exists, so the two can overlap.

How do I fix a 403 Forbidden error in WordPress?

Test from another network, then rename .htaccess and regenerate it from Settings > Permalinks, rename the plugins folder to switch off all plugins, and compare file permissions with WordPress's recommended 755 for directories and 644 for files. If it persists, ask your host to check the server log.

Can a 403 error hurt my Google rankings?

It can. Google's documentation says that for 4xx errors other than 429, a previously indexed URL is removed from the index. It does not state how long that takes, so fix a sitewide 403 the same day and monitor your site so you find out quickly.

Why do I get a 403 on wp-admin but the website loads?

The login area is often protected separately, by a security plugin, a firewall or Cloudflare rule, or an IP block. Test from another network first. If the error shows a Ray ID, the Cloudflare Security Events log will show which rule blocked you.

Get a Second Opinion on Your Website's Health

Tell us what the error says and when it started, and we will review how your site is set up, hosted and monitored. No obligation — we'll get back to you within 24 hours.

Request Your Free Audit
Dirk van Greuning — Founder, Growth Pulse Media
Dirk van Greuning Founder, Growth Pulse Media

Founder of Growth Pulse Media and a specialist in South African search dominance. Dirk translates his experience in scaling South African businesses into high-velocity digital strategies for B2B and retail leaders. He writes about SEO, lead generation, and paid media from an operator's perspective — prioritising pipeline value over impressions.

Connect on LinkedIn