• For some reason, the .htaccess in my directory keeps changing, whenever I visit my website.

    I think this is an issue with WordPress, since it resets to the “default” htaccess for WordPress, even though I have other custom rules in there. The permissions of the file are set to 444 though, but it keeps resetting.

    What could be the issue here?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Have you written your custom rules Inside the WordPress section ( between #BEGIN WordPress #End WordPress ) of the .htaccess?

    Please note that your custom rules should not be inside #BEGIN WordPress and #End WordPress to avoid WordPress rewriting these rules.

    Thanks,

    Thread Starter Teunel

    (@teunel)

    Hi,

    No, the custom rules were written above all other rules, even above the #BEGIN WordPress line.

    Hi.

    Please make sure that permalink settings have not been changed recently.

    If you have installed/activated better wp security plugin, WP Security/BulletProof Security or any other security plugin then deactivate them and then have a try.

    Try deactivating All Plugins you have installed. Once you have deactivated all plugins, activate them one by one to determine plugin related issue.

    Revert Back to the Default Theme and then have a try if .htaccess is being changed.

    Also, WordPress does not change the chmod itself, hence, you can also contact your webhost for this. They would be the first to look into this, to see if a server configuration is responsible.

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘.htaccess keeps changing?’ is closed to new replies.