Forums

412 precondition failed (5 posts)

  1. Jotheeswaran Hemachandran
    Member
    Posted 4 months ago #

    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

  2. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    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.

  3. Jotheeswaran Hemachandran
    Member
    Posted 4 months ago #

    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.

  4. Kumar
    Member
    Posted 4 months ago #

    Same problem . Please someone come up with a solution

  5. esmi
    Theme Diva & Forum Moderator
    Posted 4 months ago #

    @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.

Reply

You must log in to post.

About this Topic

Tags