If you get a 403 Forbidden Error when you visit your website, there are a few possible causes.  The two most common causes of this error message are:

  • Incorrect File Permissions
  • "No Indexing" in .htaccess file is improperly used

How do I correct a 403 Forbidden Error?

  1. First, check the permissions of your files.  If a file or folder is "world" writable, for security reasons the 403 error will display to help protect your site from attacks.  The correct file permissions for files is 644 for php and html pages, 755 or 750 for folders, and 755 for CGI and Perl scripts.  Make sure no files are have permissions of "777."
  2. If the permissions are correct, check your .htaccess file in your site's document root folder.  If you're working with your main domain, this should be the public_html folder. If you are working with an Addon domain, the folder will be inside public_html and will usually be named something similar to yourdomain.com. If you see Options All -Indexes as one of the lines in the .htaccess file, remove -Indexes and save the file.

If the permissions appear to be correct and the Option All -Indexes is not used in your .htaccess file, please contact technical support so that we can look into the issue further for you. Also, here is a link to our guide on troubleshooting a 500 internal server error.

Did you find this article helpful?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

The Community Support team wrote the article you're looking at now. We like to think it's perfect, but we're sure you have some suggestions. Please, let us know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.