Htaccess file keeps getting replaced or written over with Sitepad default, Every 24 hours the .htaccess file contents gets replaced (1 Replies, Read 18443 times)
My .htaccess files contain a lot of important code and instructions. This was not happening originally, but just recently all my sites using SitePad are having their .htaccess files either replaced completely or written over so that only the default Sitepad instructions appear:
# BEGIN Sitepad
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>
# END Sitepad Normally I keep that SitePad code at the end of the file so that all the other instructions can run. Everything was working fine and as you would expect for weeks, but then suddenly this problem started happening only within the past few days.
What happened, why is this happening, and how can I stop it?
I will not be able to continue using SitePad if this cannot be turned off from happening.
IP: --
Htaccess file keeps getting replaced or written over with Sitepad default
This problem was solved only for a while by changing the permissions for .htaccess to 444 instead of 644, but it just started up again and I discovered my .htaccess was automatically replaced with the default SitePad .htaccess on Nov 3 today.
Why does SitePad do this, and how can anyone use SitePad if it is going to replace one's .htaccess file like that? And how could it even do that when the permissions were 444?