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. They are,
1. Empty httpdocs directory - Make sure that your website content has been uploaded to the correct directory on your server. Remember to replace example.com with your own domain name.
2. No index page - Check for the home page for your website index.php or index.html. If you have missed your index file then upload it to your httpdocs directory. If you already have a home page but in different file name, for example home.html 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
Static Content: 644
Dynamic Content: 700
Why am I seeing a 403 Forbidden error message? Print
- 403 forbidden error, page cannot be loaded
- 0