I installed my website using an installer - fantastico for a quick install.
Just a few days ago, I started getting a weird error in w3tc plugin and it would ask me to update via ftp as you can see below:
I found out the file permissions for htaccess have been changed to 444
No matter how many time I try changing it manually, it becomes 444 after a while (about 30 seconds or if I do something in wp dashboard)
For a while, I am able to rewrite the rules and then the file gets reverted to what you see below:
I have Hostgator's shared hosting.
Is there a way to combat this issue?
Edit: I have tried adding ftp details to my wp config too. Didn't help
insert_with_markers()
function to create the.htaccess
file through@fopen( $filename, 'w' )
but I can't see anychmod()
on that file in the core. – birgire Apr 28 '15 at 9:49mod_rewrite
in super cache. – Anon May 10 '15 at 7:40