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

Possible Duplicate:
Does Google use the Meta Description Tag for Description of Page?

I've got a simple website that uses a php script to geolocate a user's IP and redirect accordingly - UK users get sent to the .co.uk html site, while everyone else gets sent to the .com.

Whenever the site shows up in google, however, the description is completely blank. I've tried adding tags to the html, and also via echo in the php, but still nothing shows up. The site's been up for a few months, so it's been well crawled and scores pretty highly for some search terms.

Any ideas how i can get a description up on the SERPs? Thanks!

share|improve this question

migrated from stackoverflow.com Sep 16 '11 at 23:44

This question came from our site for professional and enthusiast programmers.

marked as duplicate by John Conde Sep 17 '11 at 17:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Google has it's own way of creating the description, there is no specifc way you can trigger the generation of the description. Look on their homepage, they should explain that in length. – hakre Sep 16 '11 at 15:03

Perhaps you are not using the correct meta element?

<meta name="description" content="This is the description">


share|improve this answer

This question at Pro Webmaster covers how Google chooses what to display in its search results: Does Google use the Meta Description Tag for Description of Page?

share|improve this answer