Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

On my site: faithhopeandfiction someone hacked into my website and now it's displaying wrong Meta description on Google search results. I've verified this using "view source" that meta description and keywords are correct but whenever I search for "faithhopeandfiction" on Google or Bing it shows wrong description. What gives?

EDIT: I know it's been compromised because someone put JavaScript code in my index page which redirected a visitor to a shoe store whenever someone hit my site (I've already removed that script). However, the description in Google still shows up incorrect and it's been like this for the past month.

share|improve this question
    
How you are saying that someone hijacked your website and thats the reason for wrong meta description is Google search result? –  Sathiya Kumar Apr 22 at 6:44
    
"what gives?" Well, exactly what you just said... Google only did their job. –  Martijn Apr 22 at 7:10
    
Sathiya=> Yes. If you look at the source code of the page, "meta description" is different from that what is displayed on google when searching for "faith hope and fiction" –  Shane Km Apr 22 at 7:46

2 Answers 2

You haven't fully cleaned your site. Google is still seeing the hacked version of your home page.

I identified this two ways.

  1. If you view the Google cache of your home page, you will still the hacked page. You can do this by clicking the small green triangle next the the home page URL in Google SERPS, then clicking 'cached'. The date of the cached page is 17 Apr 2014, so Google is still seeing the hacked page.

  2. Just to double check how Google is viewing the page I used Screaming Frog site crawler which has an option in the configuration option to change the user agent. I switched it to Google Bot and crawled your home page and can confirm when Google hits your home page, it sees a different page as the user does.

You need to fix your site again and ensure it is completely cleaned.

share|improve this answer
    
Would that be because of cache-headers, or some other reason? –  Disco 3 Apr 22 at 9:26
    
What would I be looking for? where? It's hosted on microsoft server. –  Shane Km Apr 22 at 9:38
1  
Sometimes there's a hidden script (hidden = converted to a type of encoding that doesn't read with the naked eye) in the page's code that reads the user agent and causes a different page to display to that user agent. You'll have to scour the entire page and looking for areas that don't look correct. –  JMC Apr 22 at 15:36
    
Also check your .htaccess and other server configuration files. –  user2428118 Apr 23 at 8:34

If it was 'hacked' and you changed it back, it will take time to be updated in search results.

share|improve this answer
    
it's been like this for over a month and didn't change –  Shane Km Apr 22 at 7:47
    
@Shane Km: depending if your site is often crawled by Googlebot. –  Zistoloen Apr 22 at 8:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.