The Undersigned has a great post on creating WP Landing Pages



Read more about it here Landing pages in WordPress

Landing sites 1.3 Jun 5, 2006
422 comments | Add to del.icio.us | Add to reddit.com | Add to ma.gnolia.com


T-Shirt Blog from Indigo Clothing
Web 2.0 Consultancy from Indigo-2
This guide/article/plugin created some errors for someone, and some coding could be optimized etc.

With the help from Lazaryn’s cleaned up source and Bogtha’s comment on digg, I have tried making the plugin better.

Newest version is 1.3

Description
When visitors is referred to your site from a search engine, they are definitely looking for something specific - often they just roughly check the page they land on and then closes the window if what they are looking for isn’t there. Why not help them by showing them related posts to their search on your blog?

This plugin/guide lets you do that, works with a long list of search engines!

Example
The result of this guide, try to search google for photoshop mockup, and click the link to this site - you will be presented with a list of related posts right away!

Download

Download the plugin here (1.3) and be sure to read the installation instructions below.

Thanks to Lazaryn and Mike Baptiste for helping out optimizing it.

Notice: If you used an earlier version of the plugin, be sure to remove this line from your templates header.php file:


Installation
1. Rename the files extension to .php and upload it to your wp-content/plugins folder. Go to your WordPress plugin administration and activate it.

2. If you use WordPress 1.5.x you will have to run this SQL statement manually (eg. through phpMyAdmin):

ALTER TABLE `wp_posts` ADD FULLTEXT `post_related` ( `post_name`,`post_content` )
If you use WordPress 2.x, uncomment the ls_install function by removing the /* and */ sorrounding it.

3. Where you want to show the related posts list, add this code:



You came here from searching for . These posts might be of interest:



    ’, ‘’, ‘’, ‘’, false, false); ?>


4. The plugin should be running!

Functions
ls_getinfo(’isref’)
Returning true if the referrer is a supported search engine - used as a conditional tag

ls_getinfo(’terms’)
Outputs the search terms

ls_getinfo(’referrer’)
Outputs a link to the referring search engine

ls_related()
Outputs the list of related posts. This can be customized by passing variables to it. ls_related(limit, lenght, ‘before title’, ‘after title’, ‘before post’, ‘after post’ show password protected posts, show post excerpts).

In the code example in step 3 of the installation, it outputs 5 related posts, 10 words per excerpt (if excerpts are enabled), list item start before title, list item close after post title, no content before and after posts, doesn’t show password protected posts and doesn’t show excerpts.