403 Forbidden

403 Forbidden


shared hosting 403 forbidden error

A 403 Forbidden error is a particular type of error that occurs when trying to access a URL. There are a couple of possible causes to an HTTP 403 error, and we’ll take a look at those along with the possible resolutions.

Get more answers to technical questions at

If you’d like to learn more about Help Desk Premier, please visit us at

403 Forbidden Errors — Finding and Fixing the Source

A 403 Forbidden error is a particular type of error that occurs when trying to access a URL. If you’re seeing a 403 Forbidden error, there are two possible causes. It could be due to a removal of file permission, or restriction of access based on the IP address of the user. The second possible cause is accidental misconfiguration of the webserver.
As mentioned, a lack of proper permission access to the file or resource can cause 403 forbidden error.

This will result in a 403 error, sometimes combined with a 404 file not found error stating the following message:

“Forbidden

You don’t have permission to access /asd.html on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.”

However, the title of the web page will display a 403 Forbidden error. To fix a http 403 error, you should set proper permissions for a folder or a file. Normal file permission is 644 and folder permission is 755. File/folder permissions can be set using variety of ways. In Windows Web Hosting, it’s simply set using IIS. Open Internet Information Service Manager: Select the relevant website or folder, and set the necessary permissions via “Edit Permissions”.

However, if you are using shared hosting, you may not be able to access the IIS Manager or the Apache configuration file to set file/folder permissions. In this case, permissions can be easily set using FileZilla FTP client, or through the cPanel interface f or the particular web resource.

You can download the FileZilla FTP client from the URL below:

Install it and run. Then access the web resource using your FTP details in the area marked as (1). Right click and select the file or folder for which you intend to change permission, and select the “File Permissions …” option in the area marked as (2).
Next let’s look at how to fix the permission of a folder which generates a 403 error. The rectified permission value will be 755. If you are having an issue with file permission, you should set the file’s permission value to 644 instead of 755.

If the cause of the 403 error is restricted access based on IP address, you will see a message somewhat similar this:
“Forbidden
You don’t have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while typing an ErrorDocument to handle the request. ”

If you have cPanel access, check whether you have properly configured the IP Deny Manager. It may be that you have added your own IP range accidentally. If so, click on IP Deny Manager and remove any unnecessary IP deny lists.

If it is an Apache server, you can do this by editing “.htaccess” file. To edit the .htaccess file you must have direct access to files in the hosting space, or you may use FTP or SSH.

You can download and edit “.htaccess” file using a text editor such as Notepad.
In the “.htaccess” file you may see something similar to these lines. Edit or remove deny lists as you wish:

Sometimes the “.htaccess” file is not visible in the hosting space, and as such can’t be found for viewing or download. If so, you need to enable viewing of hidden files by clicking the “Server” tab and ticking the “force showing hidden files” box in your FileZilla FTP client.

To Remove IP restrictions Using IIS 7.5 in Microsoft Windows Server 2008 R2
Select the website or directory in the Internet Information Services Manager and click on “IP Address and Domain Restrictions”:
Remove unnecessary IP addresses or ranges

403 Forbidden errors can occur if there’s no default index page present when directory browsing is denied. For example if you are using IIS 7.5 in Microsoft Windows Server 2008 R2, you will receive something similar to the 403 Forbidden error below, if directory browsing is denied. This error will be 403.14 – directory listing denied.
Fix the 403.14 error by either creating an index.html /index.php file, or enabling the directory browsing.

To Enable directory browsing

Open IIS Manager and select the appropriate web folder/web site , and click on “Directory Browsing”:

Then click on enable …

Other than above causes, there’s one other possible source of a 403 Forbidden error if you are using Apache. It’s possible that the error stems from your mod_security rules if directory listings have been disabled in the server using the mod_proxy extension. It may be worth checking those settings if you are using an Apache server.

12 thoughts on “403 Forbidden

  1. hi,i am in trouble when i try to install plugin or theme in my website then getting this message (An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums) so pls help me how to remove this issue.

Leave a Reply

Your email address will not be published. Required fields are marked *