• Greetings,

    After upgrading to 2.2 I have been experiencing the “index-extra.php dashboard error” as discussed in other threads. But here is my strange problem. I used the sugested workaround for this problem by changing my .htaccess file. I added the following text:

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

    It works and everything is as it should be, but every once in a while it stops working, and when I open my .htaccess file my changes have been erased! Any idea why this is happening?

    Also, are the developers of WordPress going to address this issue or will we be forever looking for a way to deal with the problem or having to contact our hosts?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    After you add the changes to that file, give it file permissions of 444 so that other systems can’t change it by accident or design.

    And no, no fix will be coming from WordPress because this is not a WordPress problem. There is no workaround, your host is running mod_security which is intentionally made to interfere and break these sorts of things. Switch to a host that doesn’t run mod_security or use the .htaccess rule.

    Thread Starter arrowj

    (@arrowj)

    I changed the permissions. I appreciate your response. I don’t really know anything abut mod_security, but as long as the .htaccess fix works I can live with that.

    I read that it was a problem on the end of the host, but I thought it was because of something the WordPress developers changed. Your answer is very succinct and clears this up to my satisfaction…thanks!

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

The topic ‘.htaccess changes itself’ is closed to new replies.