Error 403 (Forbidden)

The 403 Forbidden error is an HTTP status code which means that accessing the page or resource you were trying to reach is absolutely forbidden for some reason.

There are three common causes for this error. Here they are listed from most likely to least likely.

1. Empty directory

Make sure that your website content has been uploaded to the correct directory on your server.

2. No index page

The home page for your website must be called index.html or index.php.

To resolve this error, upload an index page to your directory.

If you already have a home page called something else - home.html for example - you have a couple of options:

Rename your home page to index.html or index.php.
Set up a redirect on the index page to your real home page.
Set a different default home page in your .htaccess file.

3. Permissions and ownership errors

A 403 Forbidden error can also be caused by incorrect ownership or permissions on your web content files and folders.

Rule of thumb for correct permissions:

Folders: 755
Files: 644