Start for free – your first 3 months are freeSee the offer

Troubleshooting

Error 403, access denied – causes and solutions

Does your page show "403 Forbidden"? Most often the index file is missing, the permissions are wrong or a security plugin is blocking access. Here's how to find and fix the fault.

3 min readUpdated

On this page
  1. Find the cause
  2. What the control panel can't do (yet)
  3. Frequently asked questions
  4. Only one folder gives 403. Why?
  5. I get 403 in wp-admin, but everything else works. What's wrong?
  6. When should I contact support?

Error 403 means the server has found the address but isn't allowed to show it. At Sitewig it is almost always down to one of four things: there's no index file, the file permissions are too strict, a security plugin in WordPress has blocked access, or the domain points to a different website.

Folder tree on the hosting with the public folder and the index.php file highlighted, and the typical causes of error 403
The index file must be directly in the public folder

Find the cause

  1. Step 1: Check that there is an index file

    Open the folder for your website. The main website is in sites/main/public, other websites in sites/<name>/public. The start page must be called index.html or index.php and sit directly in public, not in a subfolder. If you've uploaded a folder containing your site, move the files up one level.

  2. Step 2: Check the permissions

    Connect with your SFTP program and look at the permissions on files and folders. Files should typically be 644 and folders 755. In most programs you right-click and choose something like File permissions.

    Table of the permissions 644 for files and 755 for folders
    644 for files, 755 for folders – never 777
  3. Step 3: WordPress: turn off security plugins

    If you have a security or firewall plugin, it may have blocked your IP address. Temporarily rename the plugin folder under public/wp-content/plugins/ and try again.

  4. Step 4: Check that the domain points to the right website

    Go to Domains → My domains, click the domain and look at the The domain points to card. If the domain points to a website with no content, press Change target and choose the right one.

What the control panel can't do (yet)

  • The file manager in the browser has no button for changing permissions – use an SFTP program.
  • The control panel doesn't show the server's error log yet. It's the file logs/<website>.error.log in your home folder (e.g. logs/main.error.log). If you're stuck, support can look at the log for you.

Frequently asked questions

Only one folder gives 403. Why?

The folder probably has no index file, and the server doesn't show the contents of folders. Put an index.html in the folder, or link directly to the files.

I get 403 in wp-admin, but everything else works. What's wrong?

Typically a security or firewall plugin that only blocks wp-admin. See I can't get into WordPress admin.

When should I contact support?

When the index file, permissions and plugins are all fine and the error is still there. Write to support with the full address and the time you saw the error.

Didn't find the answer?

Reply within 1 working day · Mon–Fri 8:00–17:00 CET