Hi there I am using cPanel Linux version and I noticed that my .htaccess file permissions were set to 755. This caused a problem however as my website kept going down due to the file being replaced by one with slightly different coding to make it go wrong. I changed the permissions to 644 however this does not seem to stop it and the permissions automatically change back to 755 every day it seems. Out of frustration I unticked all permissions boxes leaving it at 000 which obviously cause the 403 forbidden error on my website however now the file manager on cPanel is showing as 'Data error' and will not let me see any files so I cannot correct the htaccess permissions. My question to any experts out there is how can I get my htaccess back, and once I do how can I stop it being edited.
This is my first post so if it is in the wrong topic area let me know and I will get it changed.
Thank you in advance.
This is my first post so if it is in the wrong topic area let me know and I will get it changed.
Thank you in advance.