Title: Forbidden Errors
Last modified: August 19, 2016

---

# Forbidden Errors

 *  [ebizer](https://wordpress.org/support/users/ebizer/)
 * (@ebizer)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/forbidden-errors/)
 * Help! I continue to get “forbidden” errors telling me I don’t have permission
   to access various WP files.
 * This just started today when I activated an Adsense plugin and tried to save 
   the new Google Adsense code.
 * I also tried to add the code to a text widget and received the same error.
 * I even tried changing themes, but it didn’t help.
 * Any idea what might be going on?
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [shane-g](https://wordpress.org/support/users/shane-g/)
 * (@shane-g)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/forbidden-errors/#post-1026791)
 * Hi,
 * It may be possibles due to:
 * If the account is hosted on a Windows server, it could be a problem with the 
   Directory Indexes. The default configuration of the server is to load index.htm,
   index.html, default.htm, default.html, default.asp files.
 * WordPress is done in PHP so the default page is index.php. Now this is not part
   of the default configuration so we need to add it
 * To do this, you need to click on Web Options in the Control Panel. Then scroll
   down to the Directory Indexes section to add index.php to the Directory Indexes.
 * This can be done using the below mentioned steps from IIS:
    Go to IIS  Websites
   Right click on your domain, go to properties. Click on Document tab Under the
   filed “Enable default Content Path”, you will find the list of the various files.
   Move up the index.php file in this listing. Apply the changes.
 * You need to do the same for Linux server from the control panel..If you are hosted
   on Linux…please let us know which control panel are you using?
 * Thanks,
 * Shane G.
 *  Thread Starter [ebizer](https://wordpress.org/support/users/ebizer/)
 * (@ebizer)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/forbidden-errors/#post-1026903)
 * Thanks, Shane.
 * Since posting this problem, I’ve discovered that it must have something to do
   with the hosting company as I have another blog hosted elsewhere and it accepts
   the coding without any problem.
 * I’ve contacted the company and hopefully, everything will soon be resolved.
 * I’ll try to come back and post what they said in case anyone else runs into this
   type of situation. But forgive me if I forget. 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Forbidden Errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [ebizer](https://wordpress.org/support/users/ebizer/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/forbidden-errors/#post-1026903)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
