Support » Installing WordPress » Not able to add adsense code

  • I just install wordpress 2.3.3 clean. I have added one plugin adsense-deluxe. When I try to configure it I get the following error.

    Forbidden
    You don’t have permission to access /wp-admin/options-general.php on this server.

    I am getting this error on all of wordress sites when ever I try to add adsense code. Does not matter what way I try to add it other directly editing the code. Which I think should not be required by now.

    I have tried just adding a text widget and adding the code that way. This used to work in older versions but does not any longer.

    I am very frustration and really need some help with this.

    it is not file permission issue. it is a default/fresh install.

    Please help!!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • I need help on this too !! Anyone?

    Some security setting on Apache webserver produce this incompatibility.

    Try to put below code on your .htaccess

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>

    So, the complete .htaccess on your server would be something like:

    <IfModule mod_security.c>
    SecFilterInheritance Off
    </IfModule>
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Hope this helps

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not able to add adsense code’ is closed to new replies.