Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 at 6:44
"what gives?" Well, exactly what you just said... Google only did their job. – Martijn Apr 22 '14 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 '14 at 7:46

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? – matt freake Apr 22 '14 at 9:26
What would I be looking for? where? It's hosted on microsoft server. – Shane Km Apr 22 '14 at 9:38
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 '14 at 15:36
Also check your .htaccess and other server configuration files. – user2428118 Apr 23 '14 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 '14 at 7:47
@Shane Km: depending if your site is often crawled by Googlebot. – Zistoloen Apr 22 '14 at 8:51

You must release the website cache, remove your cookies, logout from your google accounts and search again and see if it's changed.

Anyway it takes time to reindex your pages with your meta tags.

You sould carefully search trought all files and see suspicious codes / scripts.

share|improve this answer

Your Answer


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.