• i have been having problems making changes to the Stylesheet of the WordPress Default theme. when i make a change and try to save it, i receive the following error:

    Precondition Failed

    The precondition on the request for the URL /wp-admin/theme-editor.php evaluated to false.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes.

    Thread Starter Jotheeswaran Hemachandran

    (@jotheeswaran28)

    Hi esmi thanks for post your reply. i followed that your mentioned child theme. but again i have the same error.

    when i was search this error to fix, somebody post to edit the .htaccess file to add the following tag.

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

    Already i have the code in .htaccess
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    i was include the above code in like
    <IfModule mod_security.c>
    SecFilterEngine Off
    </IfModule>

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    but its not working. is there any other solutions?

    thanks.

    Same problem . Please someone come up with a solution

    @kumar: It is considered impolite to interrupt another poster’s thread. Please post your own topic.

    @jotheeswaran28: You may need to speak to your hosts about mod_security.

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

The topic ‘412 precondition failed’ is closed to new replies.