Can htaccess be hacked?
I've been using htaccess to keep out referrer spam. Today I've logged in and I've found my Htaccess file with all the rules deleted and just this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
The question is, how could the file be changed? Could a plugin change it? How can I get the rules back to block URLS?
What precautions could I take to ensure saftey?
fbreveal.com
"The harder the conflict, the more glorious the triumph. What we obtain too cheaply, we esteem too lightly; it is dearness only that gives everything its value." - Thomas Paine