WordPress 403 Forbidden Error: Find the Block, Fix

WordPress 403 Forbidden error? Find out who is blocked, check file permissions with our free tool, then fix plugins, .htaccess or firewall rules safely.

Share this post
7 min read

Last updated December 2, 2026

Your WordPress site shows “403 Forbidden”. Or it says “You don’t have permission to access this resource.”

It may affect the whole site, or just wp-admin.

A 403 means the server heard you but refused. Something, a plugin, a rule or a file setting, said no.

This guide finds out who is blocked and why, then fixes the right layer.

Key Takeaways

  • A 403 is a refusal. Logging in again does not fix it, MDN says.
  • If only you see it, your IP address may be blocked by a firewall.
  • Security plugins and firewalls are the most common causes in wp-admin.
  • WordPress suggests folders at 755 or 750 and files at 644 or 640.
  • Never set folders to 777. WordPress says even upload folders should not need it.
Back up first. Download .htaccess and note permissions before you change them. Then you can undo any step.

Find Your Fix

Start with who sees the error. That alone narrows the cause.

403 fix finder

Answer two questions. The finder points to the rule most likely blocking access. It runs in your browser only.

Digieh tool. Based on WordPress and MDN docs, read December 2, 2026.

What Does 403 Forbidden Mean?

MDN’s 403 reference says the server understood the request but refused to process it.

Unlike a 401 error, logging in again makes no difference. The refusal comes from a rule or permission.

Editor’s Note

This guide is accurate as of Digieh check. If you keep retrying your password and still see 403, stop. The password is not the problem. Look at firewalls, plugins and file permissions instead.

Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.

Which 403 Do You Have?

What you seeLikely causeFix first
Only you are blockedYour IP address in a firewallTry mobile data, check firewall
403 when saving postsSecurity or firewall rulePause security plugin
Whole site shows 403.htaccess or permissionsReset .htaccess, check 755 and 644
One file or image 403That item’s permissionSet file to 644

Based on WordPress developer docs on file permissions and MDN. Causes are Digieh’s reading.

Check Your File Permissions

Your host’s file manager shows a number like 755 or 644 for each item. Enter one below to check it.

File permission checker

Your host’s file manager shows a three digit permission number for each item. Enter it below.

Your result appears here.

Digieh tool. Runs in your browser only. Based on WordPress developer docs, read December 2, 2026.

755 and 644WordPress suggests 755 or 750 for folders and 644 or 640 for files. Source: WordPress developer docs.

WordPress also says wp-config.php should be 440 or 400 on shared servers, so other users cannot read it. Some hosts need 644, so ask first.

How Do You Change File Permissions Safely?

Most hosts let you change permissions in the file manager. Right-click an item and look for Permissions or Change mode.

  1. Change one item first and test the site.
  2. Fix folders to 755 and files to 644, as WordPress suggests.
  3. Leave wp-config.php stricter if your host allows.
  4. Avoid apply to all subfolders options unless you are sure.

Changing thousands of files at once can break plugins that need special settings. Your host can reset permissions in bulk if needed.

Free updates

Join the Digieh list

Be the first to know when our weekly brief launches.

No spam. Unsubscribe anytime. Read our Privacy Policy.

How Do You Reset .htaccess?

A bad rule in .htaccess can block the whole site. Resetting it is quick and safe.

  1. Open your host’s file manager in the main WordPress folder.
  2. Rename .htaccess to .htaccess-old.
  3. Load your site. If it works, the old file had a bad rule.
  4. Log in and save Settings, Permalinks to create a fresh file.

The default WordPress block is on WordPress’s Apache docs page. Our WordPress 500 error guide shows it in full.

What caused your WordPress 403 error?

  • Security plugin or firewall
  • .htaccess rule
  • File permissions
  • My IP was blocked
  • Not sure

How Do You Rule Out Plugins?

Security and firewall plugins block requests that look risky. Sometimes they block you.

  1. Open wp-content, plugins in your host’s file manager.
  2. Rename the security plugin’s folder, for example add -off.
  3. Try again. If it works, check that plugin’s blocked list or firewall log.
  4. Rename the folder back and adjust its settings.

If you are unsure which plugin, rename the whole plugins folder for a quick test. Rename it back when you finish.

Is Your IP Address Blocked?

If visitors see your site but you get 403, a firewall may have blocked your address after failed logins.

  • Open the site on mobile data instead of Wi-Fi.
  • If it works there, your home or office IP is blocked.
  • Check your security plugin, host firewall or content delivery network for blocked addresses.
  • Remove your IP from the block list, or ask your host to do it.

Many firewalls unblock you automatically after a set time. Avoid repeated login attempts in the meantime.

Using a virtual private network can also trigger blocks, because many people share the same address. Turn it off and try again.

Once you are back in, add your own address to the plugin’s allow list. Then a few typos will not lock you out again.

Why Does wp-admin Show 403 When Saving?

Some server firewalls block requests that contain code, scripts or unusual text. Saving a post with an embed can trigger them.

  • Save again without the embed or script to test.
  • Check your host’s firewall log for the blocked rule.
  • Ask your host to allow that rule for your admin area.

Locked out of the admin entirely? See our WordPress login loop guide.

Can a Content Delivery Network Cause 403?

Yes. Services that sit in front of your site, like Cloudflare, have their own firewalls and bot rules.

  • Check the service’s security events or firewall log for your requests.
  • Look for country blocks, bot fight settings or rate limits.
  • Pause the service briefly, if your host allows, to see if the 403 stops.

A 403 page with the service’s own branding points straight to it. A plain server page points to your host or WordPress.

Changed Cloudflare settings recently and now see loops instead? Our WordPress too many redirects guide covers that case.

What If Hotlink Protection Blocks Images?

Hosts offer hotlink protection to stop other sites using your images. A wrong setting can block your own pages.

  1. Open your hosting panel and find hotlink protection.
  2. Make sure your own domain, with and without www, is on the allowed list.
  3. Clear your cache and reload the page.

If only images return 403 and pages load, this is the first place to look. It takes less than a minute to check.

Can a Missing Index File Cause 403?

Yes. If a folder has no index.php and the server hides folder lists, visiting it returns 403.

Make sure index.php exists in your main WordPress folder. A failed upload or move can leave it out.

Some folders, like wp-content/uploads, are meant to return 403 when browsed directly. That protects your files.

If a plugin update broke the site instead, our WordPress critical error guide explains recovery mode.

Try this today. Note your current .htaccess and permission numbers in a safe place. You will spot changes fast later.

Site loads but shows Not secure? See our WordPress not secure after SSL fix.

Site Health warns about late scheduled events? Our WordPress missed schedule fix explains why.

Test Yourself

Does logging in again fix a 403 Forbidden error?

  1. No, MDN says re-authenticating makes no difference
  2. Yes, always
  3. Only on mobile

MDN explains that a 403 is a refusal tied to permissions or rules, not to logging in.

What permission does WordPress suggest for folders?

  1. 755 or 750
  2. 777
  3. 400

WordPress developer docs say all directories should be 755 or 750, and never 777.

Frequently Asked Questions

Does 403 Forbidden mean I am blocked?

Sometimes. If only you see it, a firewall may have blocked your IP address.

Can I fix a 403 error myself?

Usually yes. Check plugins, .htaccess and permissions, or ask your host.

Is 777 permission safe?

No. WordPress says no folder should ever be 777.

Why do images show 403?

Their file permission may be too strict, or hotlink protection is on.

Will resetting .htaccess break my site?

No. WordPress rebuilds it when you save permalinks.

Conclusion

Work out who sees the 403. If only you, check your IP in the firewall. If wp-admin, pause security plugins. If the whole site, reset .htaccess and check permissions against WordPress’s numbers. Never use 777, and ask your host to read their logs if you are stuck.

Editor’s Note

This guide is accurate as of December 2, 2026. We checked WordPress developer docs on file permissions and Apache, and MDN’s 403 reference, on that date.

Spot an error in this article? Please contact us at support@digieh.com or read our Corrections Policy.

Keep exploring

Your next read is waiting

Found this useful?

Share this post
Avatar photo

Syed Wasif Raza

Syed Wasif Raza is the founder and editor of Digieh. He writes about health, food, lifestyle, news and sports in plain, easy English. Every guide he publishes is checked against official sources such as government and health agency pages. Connect with him on LinkedIn.

Articles: 932

Leave a Reply

Your email address will not be published. Required fields are marked *