htaccess file hacked
-
The htaccess file on one of our sites was just hacked and its content replaced with the code:
‘<IfModule mod_rewrite.c>’
‘RewriteEngine On’
‘# RewriteBase /’
‘RewriteRule ^(.*)$ h**p://www.turkishdarbeteam.org/index/index.html$1’
‘</IfModule>’It has permission 666 and is located in the site root.
Anything basic I can do to prevent this from happening again? I am now trying to run the site with the htaccess file set to permission 644. Could that be what is needed?
I’m afraid I haven’t been able to keep up with all the technical developements of WP and there is no money to hire someone to upgrade to each new version and to study security issues.
So I’m crossing my fingers that there may be a quick fix that I have overlooked. Thanks!
TH
The topic ‘htaccess file hacked’ is closed to new replies.