Your default WordPress header defines a single description of any page of your site, regardless of the page that someone landed on from a search engine. That the description in the search engine may not actually describe the post that is in the blog may result in less people clicking on your link.
I never thought about this until this weekend when I received the following review of my site by BlogStorm:
Nice, an easy one to link bait! Try adding some social bookmarking buttons on the bottom of your posts and some unique meta descriptions on each page.
Monetizing a blog like this is hard, if you try everything John Chow has tried then you will be on the right track.
With some imagination and a lot of link baiting you will be able to get enough links to rank for some really good terms (maybe you do already). Once you rank for these terms you can stick affiliate links and Adsense on the pages and reap the profits.
Getting your site reviewed is a fantastic thing because it will often identify some issue with your site that you’re not paying attention to. In this case, it’s my meta tag description for each of my posts. Meta descriptions are utilized by search engines to apply a brief description of the page listed in the results. Since people will see different pages when they search for you, why not apply different meta descriptions for each of your pages?
I already modified my header to include dynamic keywords for my keyword meta tag and it has helped improved the rankings of some of my posts. Applying different descriptions may not increase my search positioning, but as BlogStorm points out – it could lead to more interaction with my pages from the results of folks searching.
Description of the Solution
If the page in my site is a single page, such as when you click on a single post, you want an excerpt of the page. I want the excerpt to be the first 20 to 25 words of the post but I need to filter our any HTML whatsoever. Luckily, WordPress has a function that will provide me with that I need, the_excerpt_rss. Though it wasn’t meant for this use, it’s an ingenious way to apply the word limit and strip out all HTML elements!
I might even take this a step further and utilize the Optional Excerpt within WordPress to populate the meta description, but for right now this is a nice tidy shortcut! (If you use this approach AND enter an Optional Excerpt, it will utilize that excerpt for the Meta Description).
The Header Code
This function requires that you call it within The Loop, so there’s some complexity to it:
<meta name="description" content="<?php if (have_posts()&& is_single()):while(have_posts()):the_post(); the_excerpt_rss(20,2); endwhile; else: echo "My default description"; endif; ?>" />
NOTE: Be sure to replace “My default description” with whatever you currently have or would like as your blog’s meta description.
What this code does is provides the default meta description for your blog anywhere but on a Single Post page, in which case it takes the first 20 words and strips out all the HTML from it. I’m going to continue to fine tune the code (removing linefeeds) and incorporating an ‘if statement’ if there is an Optional Excerpt. Stay tuned!