How to Fix a 403 Forbidden Error Skriv ut

  • 403, troubleshooting, forbidden, htaccess, permissions, wordpress, error
  • 0

A 403 Forbidden error means the server understands your request but refuses to show the page. Common causes are incorrect file permissions, a blocking rule in .htaccess, or a security plugin.

Quick Checks

  1. Try a different browser or private/incognito window.
  2. Clear your site cache (WP Rocket or other plugin) and browser cache.
  3. Check whether the error appears on the whole site or only certain pages.

Common Fixes

1. Check file and folder permissions

  1. Log in to cPanel → File Manager.
  2. Navigate to public_html.
  3. Recommended permissions:
    • Folders: 755
    • Files: 644
  4. Select a folder or file → Permissions (or Change Permissions) and correct them if needed.
  5. Apply to subfolders/files if the option is available, then refresh your site.

2. Rename the .htaccess file

  1. In File Manager, go to public_html.
  2. Enable Show Hidden Files if you do not see .htaccess.
  3. Rename .htaccess to .htaccess_old.
  4. Refresh the site.
    • If it loads, the problem was in .htaccess.
    • For WordPress: go to Settings → Permalinks and click Save Changes to generate a fresh file.

3. Disable security or firewall plugins (WordPress)

  1. In File Manager go to public_html/wp-content.
  2. Rename the plugins folder to plugins_old.
  3. Test the site.
    • If it works, rename the folder back and deactivate plugins one by one until you find the one causing the block.

4. Check for IP blocking
Some security plugins or server rules block specific IP addresses. If you recently installed a security plugin, temporarily disable it using the method above.

When to Contact Support

Open a ticket if:

  • The 403 error continues after the steps above
  • You are unsure about changing permissions
  • The error appeared after a recent change and you cannot identify the cause

Include your domain name and whether the error affects the whole site or only certain pages.

Related articles

  • How to Fix a White Screen or 500 Internal Server Error
  • How to View Error Logs in cPanel

Open a Support Ticket


Hjälpte svaret dig?

«Tillbaka