Not able to add adsense code (3 posts)

  1. kaptkaos
    Posted 7 years ago #

    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.

    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!!!!

  2. tookie
    Posted 7 years ago #

    I need help on this too !! Anyone?

  3. xtanda
    Posted 7 years ago #

    Some security setting on Apache webserver produce this incompatibility.

    Try to put below code on your .htaccess

    <IfModule mod_security.c>
    SecFilterInheritance Off

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

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

    Hope this helps

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.