• 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)
  • 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

    (@ebizer)

    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.