You are currently watching my old blog - the new is located at: blog.theundersigned.net

The undersigned

Landing sites 1.3

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:

  1. <?php if (ls_getinfo(‘isref’)) { header(‘Vary: Referer’); } ?>

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):

  1. 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:

  1. <?php if (ls_getinfo(‘isref’)) { ?>
  2. <h2><?php ls_getinfo(‘terms’); ?></h2>
  3. <p>You came here from <?php ls_getinfo(‘referrer’); ?> searching for <i><?php ls_getinfo(‘terms’); ?></i>. These posts might be of interest:</p>
  4. <ul>
  5. <?php ls_related(5, 10, ‘<li>’, ‘</li>’, , , false, false); ?>
  6. </ul>   
  7. <?php } ?>

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.

1246 comments

Wordpress: Creating landing sites | The undersigned Says:

[…] Notice: New version of the plugin […]

05/06-2006 | 11:48


WordPress and SEO | The undersigned Says:

[…] Landing sites 1.1. […]

05/06-2006 | 13:25


Bruce Says:

Very clear instructions. I have installed it on my site to give it a spin. For example, type “bioneural mac” (no quotes) into Google… note how different the suggestions are in the main column (I added it to loop.php) compared to the “Possibly related” posts in sidebar.php (using the Related posts plugin). I’ve styled the output to match the “What’s recent” feature on my homepage. Works well IMHO; results seem more accurate than those in the sidebar.

Thanks!

05/06-2006 | 13:28


Basic Thinking Blog » Landeseiten-Plugin für Wordpress Says:

[…] und hat dazu das Related Post Plugin frisiert. Er nennt es Landing Sites, das man sich unter Landing sites 1.1 herunterladen kann. […]

05/06-2006 | 13:41


koz Says:

Hello ! I’ve had some error messages similar to the one described by Selaplana on the precedent version. The error message appeared not only on the admin page but on the blog itself. I solved it, for the “blog”, by cutting the code that is said to put in header.php.

You can see it work by clicking here : http://www.google.fr/search?hl=fr&q=fouette-moi+s%C3%A9gol%C3%A8ne&btnG=Recherche+Google&meta=

Nevertheless, each time I modify the index file, I have this message :

Warning: Cannot modify header information - headers already sent by (output started at /mnt/124/sdc/6/5/koztoujours/wp-content/plugins/landingsites.php:350) in /mnt/124/sdc/6/5/koztoujours/wp-admin/theme-editor.php on line 59

which does not prevent the changes to be implemented but is not the normal way wordpress works ;-)))

05/06-2006 | 14:25


koz Says:

nb : by clicking on the link given, and on the first result (from koztoujours)

If you don’t understand a word, it might because it’s in French ;-)

05/06-2006 | 14:26


The undersigned Says:

Koz> Please open your landingsites11.php file and check that there isn’t any whitespace before < ?php or after ? > (spaces, linebreaks etc.).

If that isn’t the case, please report back :)

05/06-2006 | 14:31


koz Says:

Sorry, it’s me again : I noticed that it works perfectly with google.fr but not with http://fr.yahoo.com/ , eventhough it works perfectly with yahoo.com …

Would you describe how to add another search engine, please, as I am not a programer at all and would rather not put that plugin down ?

Thanks !

05/06-2006 | 14:33


Ted Says:

I get a database error which is probably my fault but as you folks seem to know more about it maybe you could help me troubleshoot :)

WordPress database error: [Can’t find FULLTEXT index matching the column list]
SELECT ID, post_title, post_content,MATCH (post_name, post_content) AGAINST (’shitty games’) AS score FROM wp_posts WHERE MATCH (post_name, post_content) AGAINST (’shitty games’) AND post_date

05/06-2006 | 14:44


The undersigned Says:

Ted> it is my bad - the plugin will only work if the related posts plugin has been installed - otherwise you will have to manually run this SQL in your database (through phpMyAdmin)

ALTER TABLE `wp_posts` ADD FULLTEXT `post_related` ( `post_name`,`post_content` )

05/06-2006 | 14:57


dockblog // hamburg » Blog Archive » Blog Landing Site - So finden Besucher schneller relevante Informationen Says:

[…] Auf theundersigned.net gibt es ein Wordpress Plugin, dass genau das ermöglicht. Das Plugin wertet den Referrer aus und kann so Rückschlüsse auf den Suchstring ziehen, der in der Suchmaschine eingegeben wurde. Bietet dein Blog Metatags etc. zu diesem Suchstring an, wird dynamisch eine Linkliste erzeugt, die die relevanten Artikel listet. In etwa so sieht das dann aus. […]

05/06-2006 | 16:22


Weblog Tools Collection » WP plugin: Landing sites Says:

[…] WP plugin: Landing sites Help visitors from search engines find more information on your blog with related posts and such. Technorati Tags: landing sites wordpress plugin   Related Posts from the Past: […]

05/06-2006 | 17:26


koz Says:

ok, it seems that I had a whitespace at the end… I was sure I had checked after reading your other post. Sorry.

05/06-2006 | 18:12


Jonathan Says:

What a great idea! I’ve seen this done manually and was never up to the task (I’m a lazy webmaster), but you just made my life a lot easier!

05/06-2006 | 18:28


KennethVerburg.nl - Information Engineer in het Wild » Blog Archief » Landingspagina Says:

[…] Ik heb weer een nieuwe toevoeging gedaan aan dit weblog. Naast de veiligheidsupdate 2.03 van Wordpress heb ik ook de Landing Sites plug-in (door Thomas Silkjær) geïnstalleerd. Vaak zie ik dat bezoekers via Google of MSN binnen komen op de site, maar op de ‘verkeerde’ pagina. Vervolgens zijn ze ook zo weer verdwenen. Lastig voor hen, jammer voor mij, want ik heb de content die ze zoeken misschien wel. […]

05/06-2006 | 20:35


DF Says:

One problem, when try to activate this plugin, it didn’t return to the plugin index page (though it is activated and works), further more, it causes same problem for other plugin once it’s active (ie. deactivate other plugins won’t return to plugin.php), by removing the plugin problem solved.

In addition, I have enabled sending referrers.

tested under wordpress 2.0.2, hope this problem is resolved in 2.0.3 (which removes referrers’ check)

05/06-2006 | 21:03


jeremy Says:

i get the header error that Koz mentioned, because my iTunesSpy plugin already sends a header. i’d prefer to keep iTunesSpy; any suggestions?

05/06-2006 | 21:31


The undersigned Says:

Jeremy, I don’t know the iTunesSpy plugin - can you link me?

05/06-2006 | 21:33


DF Says:

Same Problem still in 2.0.3, now it’s clear there isn’t an issue on referrer. But doesn’t affect performance.

Also this plugin doesn’t work well on foreign character like Chinese or Japanese, the encoding is wrong, though I am not sure whether it got mess up during referrer fetching or during format & output.

05/06-2006 | 23:45


Lyle Says:

I’m experiencing an odd problem, I have the file in my WP-Content/plugins folder as a .php file but it doesn’t show up in my plugins toolbar…

06/06-2006 | 0:35


weston deboer Says:

i know how to copy and paste, but i know a lot of people who are having trouble downloading this file if they are on osx. In Safari when you right click to download that file, it saves it as a html file. I would reccomend zip or making it a text file.

06/06-2006 | 3:37


Mike Baptiste Says:

Great plugin. Just a few suggestions….

The call to register_activation_hook breaks Wordpress 1.5 since it was added in v2.0 - so if you try to use this and get blank screens in v1.5, do the SQL ALTER command listed in the plugin manually (or install the related posts plugin and excute it via the script link they provide) and comment out the ls_install and register_activation_hook code. Then it works fine (as far as I can tell) on WP 1.5

Also, when modifying your template - use function_exists calls, otherwise if you disable the plugin, you break your blog until you remove the ls_xxxx calls. So for example, the header.php call would be:

and your code to include the related stuff might look like this:

Related Info
We see you found us via searching for .
These other posts might also be of interest:

‘, ”, ”, ”, false, false); ?>

06/06-2006 | 4:50


Mike Baptiste Says:

Wow - that didn’t work at all! The code got interpreted as HTML in the comment. OK, let me try that again….

The header code would look like:

<?php if (function_exists(’ls_getinfo’)) { if (ls_getinfo(’isref’)) { header(’Vary: Referer’); } } ?>

and the include part might look like:

<?php
if (is_single() && function_exists(’ls_getinfo’)) {
if (ls_getinfo(’isref’)) {
?>
<span class=”title”>Related Info</span><br />
We see you found us via <?php ls_getinfo(’referrer’); ?> searching for <b><i><?php ls_getinfo(’terms’); ?></i></b>.
These other posts might also be of interest:</p>
<ul>
<?php ls_related(5, 10, ‘<li>’, ‘</li>’, ”, ”, false, false); ?>
</ul>
<?php }
}
?>

06/06-2006 | 4:55


Mike Baptiste Says:

Lyle,

I found if I used wget or just tried to save the plugin file, it was saved as an HTML encoded file since the link displays the plugin using a code colorizer. The only way to get it installed is to actually cut and paste it from the browser into a file.

06/06-2006 | 4:57


jeremy Says:

iTunesSpy is at http://www.crea-doo.at/itunesspy/ - it sends its own header out, in the file wp-itunesspy.php. Not sure that the two can coexist.

Landing sites is a brilliant piece of work, i should say! One of the most useful plugins i’ve ever seen!

06/06-2006 | 5:21


Mike Baptiste Says:

Plugins should not be sending headers on their own - that’s a bad design and I’d have to guess the problem lies with the other plugin sendign headers too early. But hoping that the headers have not been returned before executing header.php in the theme is risky. I found it much better to do header manipulation via the ‘init’ hook:

function ls_set_header() {
if (ls_getinfo(’isref’)) header(’Vary: Referer’, FALSE);
}

add_action(’init’, ‘ls_set_header’);

This will queue the header attribute but will not send them.

I use init here instead of wp-head because some things will (improperly) trip headers before wp_head is executed. By doing this you avoid having to change header.php

The one risk regardless of where ‘header’ is called is that some other plugin might clobber the Vary attribute (note the FALSE in the header call ensures this won’t clobber other Vary attributes) I never saw it get set to Referrer - but that might have been how I was checking.

I also have a suggested change to exclude the current post from the related post list. I found often the post they were reading was also included in the related list.

Change line 12 to:
global $wpdb, $id;

and add this:
. “AND ID != ” . $id . ” ”

between lines 166 and 167 so the sql query section looks like:

$sql = “SELECT ID, post_title, post_content,”
. “MATCH (post_name, post_content) ”
. “AGAINST (’$terms’) AS score ”
. “FROM $wpdb->posts WHERE ”
. “MATCH (post_name, post_content) ”
. “AGAINST (’$terms’) ”
. “AND ID != ” . $id . ” ”
. “AND post_date <= ‘$now’ ”
. “AND (post_status IN ( ‘publish’, ’static’ )) “;

Great plugin!

06/06-2006 | 5:55


Mike Baptiste Says:

On other bug I found which may be due to the PHP version I’m using (4.3 or so). I was not getting the referrer link to show up properly.

In routine ls_getinfo, you strip the http:// off of the referer url and then in the ‘referer’ section at the end of the routine, you pass that stripped down url (with no http://) to parse_url and it wasn’t returning the host ever.

Instead, I simply use the raw HTTP_REFERER variable to send to parse_url.

Change line 340 to:
$parsed = parse_url($_SERVER[’HTTP_REFERER’]);

06/06-2006 | 6:14


Mike Baptiste Says:

Ok - I’m not trying to fill up your post with comments - I swear :)

You might want to add Google’s blogsearch to your list of search engines - it is getting used more and more.

Also, is there any reason that you have the huge elseif statements to search for the engine only to use that info to set the delimiter variable? Couldn’t you just set the delimiter variable in the elseif section? Seems like it would be faster.

Another idea I had was this. Instead of doing all the string parsing to figure out the host name, why not just do a single parse_url on the HTTP_REFERER and grab the host from that? Then use a lookup associative array which has the various hostnames as keys and the delimiter as the value. It would speed up the ‘is not a known referrer’ case significantly since you’d be doing a key check on the array. I know for google/yahoo/msn which have sites for each country, you’d still need to do some parsing, but you could limit it to only those cases so something like:

if (isset($searchengines[’refhost’])) {
$delimiter = $searchengines[’refhost’];
} else {
// Do some string parsing for google/yahoo/msn
}

if ($delimter) {
// process referrer
}

I’m going to toy with that and if it works, I’ll send it via email to see if you think it might work faster. Would make adding new search engines a snap (add a new element to the array)

Just a thought.

06/06-2006 | 6:42


Mike Baptiste Says:

Here is an optimized version I put together for some sites I run. Seems to be working well so far. I need to add a version check so it will work for WP 1.5 and 2.0 and handle the DB update. For now 2.0 users, uncomment the ls_install function to update your database - 1.5 users, execute the SQL manually.

I’ve got it running on a couple of sites and it seems to be working well. Any sluggishness I noticed after enabling v1.2 seems to have gone away. FYI - Excite changed they style of referral so I may update the file in the AM (and add support for A9 which uses a similar referral format)

If you know of another search engine that a) always refers from the same host like search.mysearchengine.com and uses a normal variable_name=search string format, you can add it to the plugin by simply adding an element to the search_engines array in the format ‘hostname’ => ‘variable_name’

Right now - sleep beckons!

06/06-2006 | 8:38


Lazaryn.com » Blog Archive » Retrieving the search query Says:

[…] Update (4:54PM): Fixed engine detection to allow URLs without “www.” at the beginning. Update (7:40PM): The undersigned now has a cleaned up version of the WordPress landing site plugin using the above code. Update (12:11AM): Fixed two more extremely small bugs. […]

06/06-2006 | 9:47


lucacicca Says:

Great plugin! It works perfectly.
Very useful.

06/06-2006 | 10:45


The undersigned Says:

Mike> Thanks for the help, I have looked it through and uploaded it for download. I removed the ! = $id, as the plugin should work on all sites, not just single post view.

It’s really getting an incredible plugin I think!

06/06-2006 | 11:21


紫雨~网上创业教战手册 Says:

If you use WordPress 2.x, uncomment the ls_install function by removing the /* and */ sorrounding it.
—————–
Where is this clause? Is this necessary?

3. Where you want to show the related posts list, add this code:
—————–
Where should i add it?
Plz have a look
http://static.flickr.com/77/161631317_c9bc541438.jpg

06/06-2006 | 13:01


The undersigned Says:

Hi 紫雨~网上创业教战手册

This clause is in the end of the landingsites13.php file, simply remove /* and */ - it is necessary for the plugin to alter your database - you can choose to manually do it though, as described for 1.5 users.

The code should be put in the template file, where you want it shown. Eg in your sitebar.

06/06-2006 | 13:17


紫雨~网上创业教战手册 Says:

According to see pic http://static.flickr.com/77/161631317_c9bc541438.jpg

Search Hilite has provided a box of highlighting keywords from search engine, how can i integrate them both?

06/06-2006 | 14:33


Laundro Says:

This is excellent!

06/06-2006 | 15:12


Mike Baptiste Says:

Now that I got a little sleep, I’ve updated things a bit to keep me from being embarassed for being lazy! The biggest change is the implimentation of static variables for the terms, delimiter, and referer. Since we call these routines multiple times in template code, it was redundant. Now using a static variable, the values are maintained during a page’s processing which eliminates a lot of processing. We process once for each value and reuse it every time we are called. I did not cache the database query since I can’t imagine why you would need to grab the related posts twice in one page.

I also made the DB schema update portable for WP 1.5 and 2.0 so the schema will be updated for you automagically even if you aren’t using WP 2.0.x. Yes - I still have Some 1.5 installs (see ‘lazy’ above) Anyone with a WP 1.2 install, please check that it works as well. I used a little trickery and a stored option to ensure the DB schema is only checked during admin interface page views, not main page views and can be checked quickly without a DB query (since options are cached already)

I fixed the problem where SQL queries failed if the post ID wasn’t available (i.e. you used it on a main page, etc) so you won’t see a post in the related list when viewing it.

Finally, I added support for search engines like A9 and Excite which include the search term as a URL path instead of in a query variable.

Here is the file with my updated changes I called it v1.3.1 but feel free to hack, discard, or include whatever you see fit.

06/06-2006 | 16:04


Ministermark Says:

Hi,

For some reason this does not work at all for me. I tried the photoshop mockup search for your site and it did not work either? Using wordpress 2.03

06/06-2006 | 23:22


JorgeGobbi.com.ar » Blog Archive » Landing sites 1.1 Says:

[…] Original post by morrissey and Elliott Back […]

07/06-2006 | 2:15


Alphonse’s Blog » Blog Archive » links for 2006-06-07 Says:

[…] Landing sites 1.3 | The undersigned (tags: marketing php plugin plugins search webdesign wordpress) […]

07/06-2006 | 2:47



MyRaffaell Wordpress » Blog Archive » Landing sites 1.3 Says:

[…] lebih lanjut  Posted by qzplx Filed in WordPress Plugins […]

07/06-2006 | 8:07


Zac Bowling Says:

It only works though if the person enabled refers. Poo..

07/06-2006 | 10:40


Mike Baptiste Says:

Zac,

Well yeah - without them there’s not much to go on. Very few people block referers though, at least from what I’ve seen.

MinisterMark - when you say its not working at all - how so? Do you get any errors? or just never seem to get related posts when you jump from a Google Link? Which version did you install? Where did you include the code in your theme?

07/06-2006 | 13:12


BloggingPro China » Blog Archive » WordPress Plugin: Landing sites Says:

[…]   Landing sites,当你从搜索引擎的结果链接访问站点时,会提示类似“你是从google.com搜索’xxx xxx’来到这里,以下文章或许你也会有兴趣”。 google search […]

07/06-2006 | 13:42


ministermark Says:

Hi again,

Thanks for the info, when you mentioned referers it dawned on me that Norton Internet Security blocks referers through it’s privacy funtion. I turned “privacy control” off and it seems to be working fine. I implemented the code through a php widget on the top of my sidebar and if there’s no referer then it’s invisible. If you come from a search engine then it pops up right on the top line! Great plug-in, thanks alot, Ministermark

07/06-2006 | 14:04


The undersigned Says:

I just have to say, that I am very happy about the way this plugin has been received by the community, and especially thanks to you Mike, for helping out so much!

07/06-2006 | 14:08


Mike Baptiste Says:

No problem at all. I found it very useful and was happy to help out. I’m toying with adding support for technorati referrals that will either do a related terms search, or if a tag plugin is installed, do a tag query when the link is clicked (ie “Here are other posts ed tagged x, y, z” and clikcing on X brings them all up)

07/06-2006 | 14:13


Akkam’s Razor Says:

[…] Landing sites 1.1 | The undersigned (tags: wordpress plugin search php plugins webdesign marketing) […]

07/06-2006 | 15:37


紫雨~网上创业教战手册 Says:

What is the criteria used to match the related posts? I have used the Related Plugin before and not satisfied with its accuracy.

I found that using my own tag from UTW is far more accurate than the former.

07/06-2006 | 16:17


Orlando Says:

This is a nice plugin. Works perfectly under WP 2.0.3

07/06-2006 | 16:56


nicht wichtig » Referer-abhängige Werbeeinblendungen (Wordpress-Plugin) Says:

[…] Die Funktion ls_getinfo(’isref’)) des Plugins Landing Sites kann das gleiche wie meine Referer Detection, aber mit mehr Suchmaschinen. Zudem bietet Landing Sites auch die Möglichkeit, Suchbegriffe auszuwerten und passende Artikel aus dem eigenen Blog zu empfehlen. […]

08/06-2006 | 11:54


Lorelle on WordPress » Custom Search Engine Landing Page - Customized Welcome Mat Says:

[…] The Undersigned has come up with a landing site technique for WordPress users, as well as a Landing Sites WordPress Plugin to help you develop a “welcoming mat” for visitors arriving from search engines. […]

08/06-2006 | 16:32


.. Says:

[…] Landing sites 1.3 | The undersigned (Tags: plugins wordpress) […]

08/06-2006 | 19:57


BillyG Says:

Just wanted to say ‘thx’, I grabbed it the day you released it and it works great, as I’m sure you know already.

08/06-2006 | 20:18


WordPress and the art of SEO » Reputation Plus Says:

[…] After hacking TypePad for almost two years, I’ve started delving more deeply into WordPress. One thing which astonishes me is the number of great extensions people have written to help bloggers with their SEO. My business slug-line  is “be found, be trusted” and it’s gratifying to realise how many  talented and dedicated developers are making the first part of that equation so much easier. Add Meta Keyword Tag does what it says on the tin and works well with the popular Bunny’s Technorati Tags. Then there is the brilliant Optimal Title which changes the titles round of each post. Try bookmarking this post and notice the title comes ahead the name of the blog. Related Posts does a good job on keyword matches to expose old posts from the archive and, connected, the brand new Landing Sites plug-in serves up a relevant and keyword-rich selection of posts when someone drops in from a search engine. And then there is the Google Site Map plug-in which takes all the work out of creating an easily navigated overview of your site. Those are just a few of the extensions I have found over the last few days. They will certainly be first on my list for every subsequent WP installation for clients. Of course that only helps with being found. The trust quotient rests with the content and conversation. […]

08/06-2006 | 20:25


Denken Über » 3 nuevos plugins para Wordpress Says:

[…] - Landing Sites es un plugin que agrega un bloque de información a los visitantes que caen a través de un buscador; básicamente te dice “llegaste buscando XX cosa y tal vez estas otras entradas te parezcan interesantes” ¿sirve? Quizás si, porque muchas veces los visitantes llegan escanean y no encuentran lo que buscaban porque no es la entrada específica. […]

09/06-2006 | 6:04


Frank Says:

Hallo,
you have write a very nice plugin. I have translate for german users and make a little bid modifikations. The db-install si now possible under WP1.5* abd WP2.0*, and more instructions in the code, only in german and one variable for the text, when is not give related posts.
When do you have the code, please send a mail to me.
Do you like, that i write a post on my site over this plugin and give a possiblity to downlaod the pluign?

Sorry for my bad english!
With best regards Frank

09/06-2006 | 8:42


紫雨~网上创业教战手册 Says:

Hi, I found that u have that Related Posts shown in yr blog already, I just wonder if u activate this plugin, won’t it show two sets of Related Posts? One above and one bottom.

09/06-2006 | 9:28


The undersigned Says:

紫雨~网上创业教战手册> Its the same technique used for the two - but the one when people comes from a search engines, finds posts related to the search terms. The related posts in the bottom of the post is related posts to the current post viewed.

09/06-2006 | 10:14


TheIndex.Agregador » Blog Archive » 3 nuevos plugins para Wordpress Says:

[…] - Landing Sites es un plugin que agrega un bloque de información a los visitantes que caen a través de un buscador; básicamente te dice “llegaste buscando XX cosa y tal vez estas otras entradas te parezcan interesantes” ¿sirve? Quizás si, porque muchas veces los visitantes llegan escanean y no encuentran lo que buscaban porque no es la entrada específica. […]

10/06-2006 | 0:38


links for 2006-06-06 Says:

[…] Landing sites 1.1 Google-Besuchern alternative Posts anbieten (tags: wordpress plugin) […]

10/06-2006 | 19:41


Jens Says:

Hello!

I’ve installed the plugin and it seems to work very well. But I have found some little annoying thing:

Try this google URL:
http://www.google.de/search?hs=me4&hl=de&safe=off&c2coff=1&client=opera&rls=de&q=%2B%22Die+WM-Tickets+sind+da%21%22+%2BTogo&btnG=Suche&meta=lr%3Dlang_de

You should see two links to my blog and if you click on one of these links you are reaching my blog including the new landing site-elements.

The first link directs to
http://www.pottblog.de/2006/05/06/die-wm-tickets-sind-da/
and shows you 10 posts which are perhaps related. Unfortunately the post (die-wm-tickets-sind-da) itself is linked, too.

Is it somehow possible to remove the link on a landing site to itself? Or perhaps to remove only the <a href…> or to replace it with some other HTML-code (like <strong> or something similar)?

11/06-2006 | 14:16


The undersigned Says:

Jens> if you download Mike Baptiste’s lates code, that bug should be solved: http://baptiste.us/wp-content/downloads/landingsites131.zip

11/06-2006 | 14:42


Jens Says:

@The Undersigned:
Thanks for your advice!
But it seems to me that nothing changened. I deleted the original plugin, installed the new (1.3.1) version - and the behaviour is the same as before. Or do I have to change something in the single.php, which is executing the script?

11/06-2006 | 14:52


The undersigned Says:

In the 1.3.1 code on line 141, try to change the two occurances of $id to $post->ID - let me know if it helps :)

11/06-2006 | 16:34


The Sunday Slice: Footballing and Duct taping it at Low End Theory Says:

[…] Excellant wordpress plugin to help you get a better turnover when people land on your site from a search engine. Don’t we want those people to be bookmarking what they’re really searching for, and then becoming a reader? […]

11/06-2006 | 17:06


Jens Says:

I’ve changed it to

if ($post->ID > 0) $sql .= “AND ID != ” . $post->ID . ” “;

but it didn’t change the behaviour of the script.

I am not a programmer and therefore I think it’s wonderful what people like you can do with PHP and so on but couldn’t it be, that something has to change in line 152 where the output is being produced with the <a href…>-link?

11/06-2006 | 17:10


LIsa Says:

Great plugin exactly what i need as i was seeing my vistors leave because they didnt see what they wanted on the first page.

11/06-2006 | 18:37


Ingrid Says:

Would Google appreciate a plugin like this ? (I can’t wait to implement it, but just to be on the safe side. There are some rumours that Google would not like it - don’t ask me why, i am just the messenger).

12/06-2006 | 14:05


The undersigned Says:

I don’t see why Google would have anything against a plugin like this. The plugin doesn’t change the look for googlebot alone to cheat with google listings - what the site contains is changed only when referred from a search engine - same thing for all. And the plugin sends a Vary: Referer header :)

12/06-2006 | 14:13



Lazaryn.com : Retrieving the search query Says:

[…] Update (4:54PM): Fixed engine detection to allow URLs without “www.” at the beginning. Update (7:40PM): The undersigned now has a cleaned up version of the WordPress landing site plugin using the above code. Update (12:11AM): Fixed two more extremely small bugs. Update (June 14th): Merged the two large if statements together. Please note that this code was rewritten purely to remove the regular expression - Mike Baptiste took a completely different route when he rewrote the Landing Sites WordPress plugin. […]

13/06-2006 | 17:12


Adam Says:

Thanks for the great base for us to build from, I’d been thinking about this sort of stuff for a while but didn’t have a clue where to start.

With just a few tweaks I’ve turned it into a widget so that I can add it into my wife’s blog (warning knitting content) which uses a widget enabled theme. (Google for “broomstick knitting” and look for the castoncastoff link if you want to see it in action)

I extended the ls_related() function to search for related posts or categories, and also did somework so that the functions never output directly via “echo” but return their content via “return”, this makes it more flexible in use.

I also changed the ls_related function to (optionally) use IN BOOLEAN MODE for the full text search. This means if someone searches for “alpha beta -gamma”, you can still show posts that mention “gamma” but they’ll be lower down the list.

14/06-2006 | 14:06


Ingrid Says:

Great. I implemented it, and it works like a charm.

14/06-2006 | 14:27


WordPress Plugins at JohnTP’s Home Says:

[…] Download Landing sites […]

14/06-2006 | 15:10


Customized Landing Page for your blog at JohnTP’s Home Says:

[…] Download Landing Site Technorati Tags: blog, blogging, landing site, plugin, search engines, wordpress, wordpress pluginsShare and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages. […]

14/06-2006 | 16:11


Rick’s HideOut - Archivo - WP Plugin: Landing Sites Says:

[…] Landing Sites es un plugin para el Wordpress cuya función es, despues de detectar que el referer es un buscador, ofrecerle al visitante otras entradas relacionadas que también pueden ser interesantes. Es un plugin muy útil, sencillo de implementar y, por supuesto, totalmene personalizable. […]

16/06-2006 | 10:25


Michael Phipps » Blog Archive » Great Wordpress Features and Plug-ins Says:

[…] The landing sites plug-in This is an extension to the related posts plugin that checks if a visitor has come from a search engine, and uses their search terms to display a link to appropriate content.  It’s particularly useful if an article was listed in a search engine as being located on your front page, but has actually moved into archive.  The visitor is shown a link to the article they are expecting to see, which reduces the chances of the visitor bouncing off your homepage, and increases the chance they will read the article. […]

18/06-2006 | 22:45


Devlounge | how2 k2 - Becomming Search Friendly Says:

[…] You can get more information on this plugin as well as installation instructions at this site. […]

19/06-2006 | 21:15


Tankmiche Says:

Wow, this plugin is great! I found it very useful!
That’s only a little problem, I wanted first to remove the link to a post if you’re already on that permalink (as somebody said);
second, to keep the list of the related topics even if you click on one of them… I’m working on that; temporarly I added a little “target=_blank” to any link.
In the future I would also try to integrate this plugin with another one, that makes colored the searched words in the post.

Thank you very much!

20/06-2006 | 15:58


Nick Says:

Hi undersigned,

Your landing sites plugin is fantastic. I had been wanting to do this for a while but I did not know where to start. I had no problems installing it and setting it up on my blog. Great job!

Best Regards,
Nick

21/06-2006 | 13:17


Punny Money Says:

Fantastic plug-in! Thanks so much, Undersigned.

If you’re looking for suggestions for future releases, I’d love to see the script replace the search engine URL with the actual name of the search engine (e.g. “Google” instead of “www.google.com”).

Also, if possible, when fetching matching results, could the plug-in verify that it isn’t returning the landing page as one of the results?

Finally, instead of giving no results if there’s no match, it’d be nice if we could specify a default result to turn up if nothing else matches (like a “My Top Ten Posts” page or the “About” page).

Thanks again for all the work you put into this.

22/06-2006 | 2:43


孩子气☆孙秀楠宝宝 » WordPress SEO, WP搜索引擎优化 Says:

[…] 7) 提高网站粘合度 当游客从搜索引擎发现你的网站,他们往往只看关心的那些内容,如果没有发现他们寻找的内容,就会把浏览器窗口关掉。为什么不帮他们显示一些跟他们搜索相关的文章呢? 推荐使用Landing sites插件 […]

22/06-2006 | 6:37


Oyvind Says:

Would it be possible to make it work with Google images? What about Flickr?

22/06-2006 | 10:02


Mickey J Barczyk Says:

Hello. Great plugin for WP! I’m loving it!
Have you done any official plugin for the “Related Posts” that are shown at the end of every article at your blog?

22/06-2006 | 12:47


Basic Thinking Blog » Landeseiten für Weblogs Says:

[…] Wie wäre es, den Blog-Leser, der via Google auf der Seite aufschlägt, weitere Artikelvorschläge zu unterbreiten? Thomas Silkjær von The Undersigned hat sich die Mühe gemacht und ein Wordpress-Plugin namens Landing Sites geschrieben, um das zu bewerkstelligen. Mittlerweile gibt es die Version 1.3. Obacht, Wordpress 1.5 User müssen bisserl was drehen. Also aufmerksam die Anleitung lesen. […]

22/06-2006 | 13:16


my weblog » wp & landing sites Says:

[…] Landing sites 1.3 | The undersigned […]

22/06-2006 | 14:51


Landingpages für Blogs? | agenturblog.de Says:

[…] Robert fragt drüben bei Basic-Thinking erneut nach dem Sinn und Zweck von Landingpages für Blogs und stellt dabei das Wordpress Plugin Landing Sites vor. […]

22/06-2006 | 21:45


Links for June 22, 2006 » Irregular Payments Says:

[…] Landing sites 1.3 a ’show related posts’ for search engine visitors (tags: plugin, wordpress) […]

23/06-2006 | 5:53


bueltge.de [by:ltge.de] Says:

WP - Landingsites de (Plugin)…

Die Besucher einer Seite kommen viel über Suchmaschinen auf die einzelnen Artikel. Nicht immer finden sie das gesuchte und in der Regel ist das Suchverhalten dann so, dass die Besucher zu ihrer Suchmaschine zurück kehren und den nächsten Link nutzen……

23/06-2006 | 14:51


Frank Says:

Hallo,
i have write a comment at 9.Jun. Sorry, a i have a new german version with more searchs.
the install is possible under WP1.5 and WP2.* automaticly, when you activate the plugin in the adminpanel.
The code is here - http://www.bueltge.de/wp-landingsites-de-plugin/181/

With best regards.

23/06-2006 | 14:54


Martin Says:

great plugin, thx, i will use it!

23/06-2006 | 15:49


Wordpress Plugins: The Essentials at Subtractions and Nouns Says:

[…] Most bloggers should be aware that their homepage is probally the least referenced in search engine results. With individual posts taking precidence. Therefore, it is neccessary to ensure that these pages are optimized for search engine referrals. You can do this by implementing an inventive plugin by the name of Landing Sites. This plays off the back of the Related Entries function, and but this time will display a nice little contextually relevant welcome message to search engine referral users; e.g., “Welcome to $sitename, you’ve just come from $referrer searching for $searchterm here are a collection of related entries you may find useful $relatedentries”. This is an excellent introduction to most bloggers arsenal of plugins especially since it is encouraging your users to delve deeper into your content - increasing the chance of them becomming a frequent reader, or regular commenter. […]

24/06-2006 | 14:18


Michael Benson Says:

This is an excellent plugin. However there is one suggestion i would like to make. And that is when they are no related entries for a particular search, for instead of displaying the whole content as usual, and just a “No Related Entries” at the end - to just not display the usual Landing Sites “You searched for $searchterm from $referer” information at all. Since essentially you are wasting their time, and they would be better off being directed straight to the content.

24/06-2006 | 14:23


Mickey J Barczyk » Landing sites: Ett måste-script för en WP-blogg för att locka till sig fler läsare Says:

[…] Detta script är helskönt. När jag hittade det, efter att jag klickat mig fram hit och dit via Betal Alfa 2.0, var det som kärlek vid första ögonkastet. Scriptet fungerar som en sökmotor på din sajt och hänvisar de inkomna personerna från olika sökmotorer till relevanta artiklar baserat på de nyckelord de använt för att hitta din blogg. Scriptet vars namn är Landing sites fungerar endast med Wordpress-bloggverktyg och kan hittas här. Vill ni se demo på vad det hela går ut på så googla tex efter “Åsa Sandell” och klicka in er på min blogg. Mysigt va? […]

24/06-2006 | 16:50


Ron Pemberton Says:

You said to add the PHP code to display related post into the template; do you mean the single.php file of my theme?

So the plug-in doesn’t actually create a new page itself; but through a function added into your themes template, displays (adds) a new section on a single post view page that is already part of the theme; right?

24/06-2006 | 17:37


SEO para WordPress Parte II | EDaPina DTUP Says:

[…] Landing sites 1.1. […]

24/06-2006 | 19:21


The undersigned Says:

Thanks for all the comments, I will be sure to check up on requests etc asap!

Mickey: The related posts plugin can be found here.

Michael, you would be able to achieve that by using something like this in the first line instead: (not tested)

if (ls_getinfo(’isref’) && ls_related())

Ron> Exactly :)

24/06-2006 | 23:21


SEO thougts » Optimize wordpress Says:

[…] The undersigned have made them. And they´re really good. The same guy that also have made the nice Landing sites plugin that are very good for your visitors and you. Read more about it here.  […]

25/06-2006 | 0:26


Suzie Says:

This is a fantastic plugin - thanks very much.

My installation learning:

“If you use WordPress 2.x, uncomment the ls_install function by removing the /* and */ sorrounding it.”

This is referring to a line of php code beginning

the function ls_install(

which is found near the bottom of the landingsites php file.
You just edit it in the wordpress plugin editor

Error message:
To begin with I got this:

WordPress database error: [Can’t find FULLTEXT index matching the column list]

This was solved by going to the wordpress plugin management, deactivating the plugin, then re-activating it. This apparently installed it properly and it’s working fine now.

25/06-2006 | 12:37


WordPress搜索引擎优化|独乐乐不如众乐乐 Says:

[…] 7) 提高网站粘合度 当游客从搜索引擎发现你的网站,他们往往只看关心的那些内容,如果没有发现他们寻找的内容,就会把浏览器窗口关掉。为什么不帮他们显示一些跟他们搜索相关的文章呢? 推荐使用Landing sites插件 […]

25/06-2006 | 15:39


blackinside » Blog Archiv » v 0.65 Says:

[…] Ich habe zunächst landingsites eingebunden. Damit bekommen Besucher die über google die Seite besuchen gleich weitere interessante Artikel angezeigt. […]

25/06-2006 | 18:23


Lisa Says:

Excellent plugin!

25/06-2006 | 20:16


Amir Sariaslan » Sökmotorshumor? Says:

[…] Ali Esbati skrev för ett tag sedan ett inlägg om väldigt roliga sökord som har lett till hans blogg från Google. Bloggaren Olydig följde upp häromdagen med fler ”intressanta” sökord. Helt plötsligt läser jag på Mickey J Barczyks blogg om ett nytt insticksprogram till bloggverktyget Wordpress, Landing Sites, som ger förslag på blogginlägg till besökaren med utgångspunkt från sökorden denne har angivit. Med tanke på att 99 procent av mina besökare kommer hit genom att söka på Amir känns det i dagsläget onödigt för mig att installera detta men kanske i framtiden. Hursomhelst är det en fantastisk idé.   […]

26/06-2006 | 15:28



Nick Says:

One other “bug” I just noticed: I use Google Reader to view my RSS feeds, and when I visited a site from the Reader that uses Landing Sites, it told me I came from Google searching for nothing. It would be nice if the plugin could distinguish between visitors from Google’s non-search services, though I’m not quite sure how to accomplish this. Thanks again!

26/06-2006 | 23:31



Viper007Bond Says:

Hmm, how had I not seen this plugin before? :o

28/06-2006 | 0:47


{ Karin } » Aktiverat ett par insticksprogram också Says:

[…] Nu har jag aktiverat Akismet, ett anti-spam-program och Landing Sites, ett program för att hjälpa de som kommer via sökmotorer att hitta rätt inlägg. […]

28/06-2006 | 8:23


gsyi Says:

a really useful plugin, thx!

29/06-2006 | 4:55


Speed Linking | Art Of Money Says:

[…] Cool Wordpress plug-in that shows the best match related posts to a user referred from a search engine search. Landing Sites. I’ll be installing this on my sites ASAP. […]

30/06-2006 | 6:43


GaryP Says:

Thanks for a great plugin!

I noticed that the “Google Blog Search” ( blogsearch.google.com ) does not trigger the landing sites plugin?

30/06-2006 | 16:20


SEO für WordPress – die besten Tipps – Teil 1 — Software Guide Says:

[…] Das Plugin Landing Sites bietet diese Möglichkeit. Allerdings basiert das Plugin auf Related Entries Plugin. Dies ist allerdings unnötig und frisst zudem unnötig Ressourcen, wenn man bereits alternative Möglichkeiten zur Anzeige von ähnlichen Beiträgen einsetzt. Ich habe daher ein eigenes Plugin geschrieben, welches ich aber derzeit noch teste und noch nicht veröffentlicht ist. Dieses ist sehr viel schlanker und ermöglicht eine simple ja/nein-Abfrage im Theme, ob ein Besucher von einer Suchmaschine kommt. Wenn ja, dann wird spezieller Content angezeigt. Details folgen… […]

01/07-2006 | 22:09


Sanjeev.NET » Blog Archive » links for 2006-07-03 Says:

[…] Landing sites 1.3 | The undersigned (tags: wordpress plugins) […]

03/07-2006 | 5:16


Weblog Tools Collection » WP plugin: MoreMoney Says:

[…] WP plugin: MoreMoney Display ads and a message to visitors from Google. The author also suggests that this plugin could be useful if you only want to display ads from search engine visitors and spare your regular patrons from viewing ads. Much like Landing Sites. Technorati Tags: adsense google moremoney wordpress wordpress plugin   Related Posts from the Past: […]

03/07-2006 | 17:35


Newcybertech Weblog » Blog Archive » Says:

[…] WP plugin: MoreMoney Display ads and a message to visitors from Google. The author also suggests that this plugin could be useful if you only want to display ads from search engine visitors and spare your regular patrons from viewing ads. Much like Landing Sites. […]

03/07-2006 | 21:16


Landing sites Wordpress plugin Says:

[…] Via artikel  från Problogger hittade jag denna utmärkta plugin ”Landing sites”. […]

04/07-2006 | 16:19


joe Says:

I am not getting this to work. I added the code to the mian page.
I don’t understand what this means If you use WordPress 2.x, uncomment the ls_install function by removing the /* and */ sorrounding it.

Can you help ?

04/07-2006 | 19:20


The undersigned Says:

in the php file there is a /* and a */ around a code snippet starting with “function ls_install”. Simply remove the /* and */ and deativate/reactivate the plugin - should work now

04/07-2006 | 19:35


joe Says:

I did. Still doesn’t work

04/07-2006 | 19:43


The undersigned Says:

and you deactivated it, and reactivated? Get any error messages? Added the required code to your template?

04/07-2006 | 19:45


joe Says:

Yes, I di dthat. I added the code to the main template. No error messages

04/07-2006 | 19:49


The undersigned Says:

to what template file did you add it?

04/07-2006 | 19:51


joe Says:

main index template

04/07-2006 | 19:55


The undersigned Says:

you need to add it to your current theme - in wp-content/themes/themename/something.php

I have put it in header.php on this site for instance..

04/07-2006 | 19:58


joe Says:

Now I am lost

04/07-2006 | 20:01


joe Says:

works now thanks!

04/07-2006 | 20:07


Geof F. Morris's Indiana Jones School of Management Says:

Landing Sites…

I’m using the Landing Sites plugin to help visitors here who drop in from search engines. While none of my regular readers should ever see this, maybe some of you will be interested in using it on your own.

……

04/07-2006 | 21:25


fiLi Says:

Absolutely brilliant. Thanks very much.

05/07-2006 | 7:29


Weblogger.ch » Blog Archive » WordPress et moteurs de recherche Says:

[…] Via problogger, le plugin Landing Sites vous permet de fournir une information privilgie aux personnes qui tombent sur votre blog aprs avoir effectu une recherche dans un moteur de recherche. […]

05/07-2006 | 8:23


Stupid Google tricks and WordPress plugins | The Blorg Says:

[…] Note the difference betwixt the two. It’s because of a cool plug-in called Landing sites, available only for WordPress 2.0. it doesn’t do much of anything I can’t do with .htaccess, it just makes it phenomenally easier. […]

05/07-2006 | 17:56


Daniel Gattermann Says:

Very nice plugin! But you should add the following preg_match(’/\.search\.yahoo\./i’, $ref) to enable for example de.search.yahoo.com.

05/07-2006 | 18:26


Milo Says:

I am getting this error:

Parse error: parse error, unexpected ‘>’ in [address of index page with line number]

Related posts is working perfectly can’t seem to figure out whats wrong with it. Thanks!

05/07-2006 | 19:36


Mike Baptiste Says:

Redownload the plugin - it sounds like the file got corrupted.

05/07-2006 | 21:44


The undersigned Says:

Sounds like you forgot to close your < ?php or something in your themes index.php.

05/07-2006 | 21:49


Christian Connett Says:

I am getting this error:

Parse error: parse error, unexpected ‘>’ in [MYPATH] on line 13

I tested, and if I comment this line:

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

I no longer get the error… Any idea what I may be doing wrong here??

05/07-2006 | 23:51


Christian Connett Says:

This line:
’, ‘’, ‘’, ‘’, false, false); ? >

05/07-2006 | 23:52


Christian Connett Says:

//ls_related(5, 10, ‘’, ‘’, ‘’, ‘’, false, false);

05/07-2006 | 23:53


Eddie Awad Says:

One other “bug” I just noticed: I use Google Reader to view my RSS feeds, and when I visited a site from the Reader that uses Landing Sites, it told me I came from Google searching for nothing.

To solve this issue do the following:

In landingsites13.php, in the function ls_getinfo, add the following:

if($what == ‘hasterms’) {
return $terms != NULL;
}

Then, where you want to show the related posts list, change the code like this:

HTH

06/07-2006 | 7:03


Eddie Awad Says:

The php tags where stripped out, I meant like this:

if (ls_getinfo(’isref’) and ls_getinfo(’hasterms’))

06/07-2006 | 7:05


WASABI » Blog Archive » While I was out … Says:

[…] Thomas Silkjlr wrote Landing Sites. This plugin will list a series of related entries based on search engine query that was entered to get to your site. Very cool. […]

06/07-2006 | 14:05


Pedro Rogério Says:

Hi Friends, I lowered plug-in, only that I do not know I eat to install it, where archive I I must place code PHP, and where line? I thank the aid. Debtor.

06/07-2006 | 19:00


Marty Martin Says:

Watch out when you paste over the code to insert into your file (if you do it that way). The font used on this page will translate (at least it did for me) the ‘ as `. This will cause the script to output nothing. So if you have everything setup and it still won’t work, check your ’s ;)

Great script, I love it!

07/07-2006 | 21:23


links for 2006-07-08 — 7 seconden — Cuiusvis hominis est errare Says:

[…] Landing sites 1.3 | The undersigned Help bezoekers die via een zoekmachine op je site belanden. (Via Ine) (tags: wordpress plugins) […]

08/07-2006 | 13:14


Jim Says:

Milo & Christian,

I was getting the same parsing error until I followed Marty’s Jul 7 advice about the apostrophes. That solved the problem for me.

Thanks, Marty!

08/07-2006 | 14:41


Daniel Gattermann Says:

A suggestion for version 1.4: Why not put the HTML in the plugin and add a function

ls_get_html_for_site()

to insert it. This way your theme doesn’t break if you check for this function’s existence and then execute it. (I modify every plugin that way before I use it.) Even better would be a separate template file to put in your theme directory.

09/07-2006 | 10:59


karelschiepers-online- » toegevoegd aan del.ico.us Says:

[…] Landing sites 1.3 | The undersigned (tags: wordpress plugin) […]

09/07-2006 | 21:18


links for 2006-07-10 at 59ideas Says:

[…] Landing sites 1.3 | The undersigned (tags: blog wordpress plugin design) […]

10/07-2006 | 17:13


BillyG Says:

Heads up undersigned: I just clicked your mockup link to come back in via the Google serp and my McAfee SiteAdvisor FF ext has that link flagged as a question mark vs. a green checkmark.

Not 100% sure if it is due to some phpMyAdmin tweaking I was doing or not on my former http://billy-girlardo.com/WP/ blog but the earlier version of this gives me an error now on incoming searches. I’ve looked all over but can’t find any code inserts I did when installing the earlier version so if there were any for that, please let me know so I can fix that (I don’t have a README, maybe there wasn’t one).

Based on that, and the multitude of comments here for the current version, I am going to wait and view an active version of this on anybody’s blog out there before installing it on my new blog. (Nothing against your mockup, but as noted above, that is not the most favorable of situations). I really want to get this working and can’t wait to do so, just hesitant at the present time. TIA.

13/07-2006 | 14:00



Trikinhuelas » Archivo del Blog » Ahora que salió a colación Says:

[…] Ahora, leyendo el artículo de Marta Peirano se me ocurrió poner unos anuncios en el blog. Los parroquianos habituales no se preocupen, en breve desaparecerán y sólo los leerán los que llegan vía buscadores, estoy evaluando un par de herramientas que parecen adecuadas. […]

14/07-2006 | 6:26


Ryan’s Life » Blog Archive » Wordpress Plugins Used in Ryan’s Life Says:

[…] Landing Sites I haven’t been able to utilize Landing Sites’ full potential because it requires that your site be indexed by the major search engines. Since Ryan’s Life is only three days old I have yet to be included in their index. I’ve been crawled several times, but I’m expecting to be in in about a week. This plugin checks if a user got to your page via a search engine, and if they did, it will show links to other posts that are relevant to the post they’re reading. It just encourages new users to stick around, and the longer they’re on your site the better chance they’ll come back. […]

14/07-2006 | 14:46


(realityloop) embrace recursion » Blog Archive » links for 2006-07-14 Says:

[…] Landing sites 1.3 | The undersigned (tags: wordpress plugin plugins search webdesign) […]

14/07-2006 | 15:16


Ash Haque Says:

Doesn’t seem to work for me :(

When I insert the code exactly as posted I get a syntax error:

Parse error: syntax error, unexpected ‘>’ in …index.php on line 14

When I remove the li’s from the code I no longer get the error, but nothing apperas when I go to the site from a search engine. Any ideas?

17/07-2006 | 7:14


Ash Haque Says:

^^^ nvm, ignore last comment, had to convert the quotes
Thanks Marty,
and Thanks Thomas for an awesome plugin!

17/07-2006 | 7:17


Landing sites | Bakkel dot com Says:

[…] Om de ‘nieuwe bezoekers’ een klein duwtje in de juiste richting te geven heb ik de WP-plugin ‘landing sites‘ van the undersigned geinstalleerd. Als er nu mensen via een bepaalde zoekterm hier terecht komen krijgen ze automatisch aan de bovenkant van de pagina een overzicht te zien met info over de gebruikte zoekmachine, gebruikte zoekterm en een aantal posts die van misschien relevant zijn aan hun zoekopdracht. […]

17/07-2006 | 17:50


Direct Response Works Says:

[…] Third, I added the Landing Sites 1.3 plugin to reference visitors from search engines to posts on my site that are related to their search. This plugin only displays when you enter my site from a search result on a search engine. […]

18/07-2006 | 3:03


How to Fix Landing Sites Plugin Says:

[…] I finally got around to testing the Landing Sites plugin for WordPress. […]

19/07-2006 | 0:03


WP搜索引擎优化 » 周俭 Blog Says:

[…] 7) 提高网站粘合度 当游客从搜索引擎发现你的网站,他们往往只看关心的那些内容,如果没有发现他们寻找的内容,就会把浏览器窗口关掉。为什么不帮他们显示一些跟他们搜索相关的文章呢? 推荐使用Landing sites插件 […]

19/07-2006 | 16:17


Oversigt over aktive plugins på Problog.dk » ProBlog.dk » At blogge - din guide til blogging og blog-værktøjer Says:

[…] Landing Sites Absolut et af de mest opfindsomme plugins jeg har stødt på. Landing Sites opfanger indgående trafik fra søgemaskinerne, analyserer hvad der er søgt efter og vises en række artikler baseret på dette. Man oplever kun funktionen via søgemaskinerne, men det er rigtig smart fundet på og det virker godt. […]

20/07-2006 | 11:18


Anvndbara vertyg fr Wordpress-bloggare | siktstorped Says:

[…] Landing sites, Ser till att beskare som kommer till bloggen genom en skmotor fr frslag p andra inlgg av mig som kan vara relevanta fr dem. Rtt fyndigt, eftersom tipsen bara dyker upp nr man kommer frn en skmotor. Testa sjlv: Klicka p den hr lnken (leder till Google), vlj en av trffarna hos siktstorped, s ser du hur det ser ut. […]

20/07-2006 | 15:37


CountZero Says:

I have implemented full out-of-the-box support for your Landing Sites plugin in the latest 1.4.0 release of the popular Binary Blue theme suite - no further fiddling in the theme’s .php files neccessary to get it running.
You did a great job with this little plugin, I love it!

23/07-2006 | 10:35


BillyG Says:

After 10 days, I really appreciate all the assistance, I’ll have to remember that and let others know about it too.

23/07-2006 | 20:38


Le Landing Pages in WordPress » Studio404 Says:

[…] Un buon sistema è quindi quello di suggerire al visitatore alcune pagine correlate all’argomento a cui è interessato. Per WordPress esiste un plugin che fa proprio questo: se un visitatore arriva sul nostro sito da uno dei principali motori di ricerca, gli viene proposto un elenco di articoli correlati in base alle ricerca che ha effettuato prima di arrivare nel nostro sito. Il plugin si chiama Landing Sites ed è scaricabile qui. […]

24/07-2006 | 23:23


otro blog ms » Unos cuantos de desarrollo web (XCV) Says:

[…] Alguna cosa para WordPress… Comenzamos con plugins: uno para integrar Thickbox, un monitor para las bsquedas que hacen los usuarios y Landing sites, para personalizar la ‘pgina de aterrizaje’ segn la provinencia del visitante. Seguimos con tres artculos en Devlounge, Layout, Customizing Wordpress: Headers y Customizing Wordpress: Advanced, y acabamos con How to edit Wordpress themes using Dreamweaver. […]

25/07-2006 | 11:32


spoetnik’s stuff » Article » Landingsites Says:

[…] Vandaag een nieuwe plugin voor wordpress geinstalleerd, Landingsites. Kom je via een zoekactie op een zoekmachine op mijn webloggie terecht, dan krijg je een hartelijk welkom, en een overzicht van gerelateerde post. Zoek in google bijvoorbeeld eens op “Je eigen TomTom stemmen maken” met de quotes, en je zal zien wat ik bedoel. […]

25/07-2006 | 17:46


fiLi Says:

I don’t know if you’re interested in further plugin ideas, but some of my users were interested in something that would show them how people found my site through search engines. I have my own site stats that give me a very general idea, but it could be neat to use landing site to index the search pattterns which bring people to the site and allow people to see that on the webpage.

Just a thought… :P

26/07-2006 | 12:04


problemi con i plugin di wordpress   |   .:: Maurizio Pelizzone ::. Says:

[…] il lato positivo è che con l’occasione sono riuscito ad installare Landing sites ed a modificare oppurtunamente la sidebar di questo template. Bookmarks veloci per … These icons link to social bookmarking sites where readers can share and discover new web pages. […]

27/07-2006 | 22:29


Mickey J Barczyk » Wordpress Plugins, favoriter Says:

[…] Landing sites [ BILD ] 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! By The undersigned. […]

28/07-2006 | 17:03


Thomas Says:

This looks fantastic although I can’t get it to work in my templates. Always get this error —> parse error: syntax error, unexpected ‘?’, expecting ‘)’ in /home/www/…/header.php on line 19

31/07-2006 | 8:57


Ryan Williams Says:

Like someone else suggested earlier, it’d be awesome to see this plugin support Google Images. At the moment if somebody gets your site in the image frame or clicks “remove frame” to go to the page, neither show the landing page stuff.

This is actually where a great deal of my visitors come from so it’d be nice to grab their attention. I wouldn’t mind editing the php file myself if someone told me what to add. :))

02/08-2006 | 3:10



Alex W. Says:

Hi!

What a fantastic plug-in you’ve created! I’ve tailored Landing Sites to work with my site and give a special welcome message to those coming in from google, etc. Now that I am getting more traffic, I’d like to be able to use WP-Cache with it. What I’m finding, however, is that when WP-Cache is activated, the Landing Sites plug-in doesn’t work at all. The page loads fine — but no Landing Sites message. (Although if the page had not been previously cached, the message does show…)

Now I’ve read that there is a way to tell WP-Cache to let the page be formed dynamically in certain situations.

http://mnm.uib.es/gallir/wp-cache-2/ (Look at the FAQ Question: “How do I make certain parts of the page stay dynamic?”)

Understanding exactly how to get this to work with Landing Sites exceeds my HTML chops by a fair amount — is this something that you’ve already figured out how to make work? Could you offer some guidance for those of us who want the best of both worlds? :-)

Thanks again for great plug-in!

Alex

06/08-2006 | 19:15


Rich Tatum Says:

Hi, I thought I might note here that users should add their own domain and search query delimiter to the list of search engines so that users searching on the blog will get the same style of suggestions that users coming from Google, etc., would get. I used:

‘MYDOMAIN’ => ’s’

Although, I’m sure there’s a better, programmatic way to do this with bloginfo(’url’) or some such.

Great plugin, by the way!

Regards,

Rich
BlogRodent

07/08-2006 | 3:35


Rich Tatum Says:

Alex, I have WP-Cache enabled on my blog, but it doesn’t seem to interfere with my landing pages because I have certain URL strings set to not cache, such as q= and query= and s=, the error page URL, and so on. These strings should prevent dynamic queries from being cached. Further, if someone lands at your site via a URL that doesn’t exist, the first time that page is generated, it will be cached as will the relevant text for the landing sites plugin. If you’re worried that subsequent posts won’t appear in the cached page, just do what I do: go in to your wp-cache settings and flush the cache whenever you’re in the admin console. Doing this every week or so won’t really affect your site’s performance.

Hope that helps. It seems to work for me.

Regards,

Rich
BlogRodent

07/08-2006 | 7:41


Alex Says:

I’ve spent 2-3 hours getting this plugin to work - and I cannot succeed. It simply seems that LandingSite cannot get the correct referrer. ( ls_getinfo(’isref’) simply never returns ‘TRUE’ )

I use WP 1.5.1.3 and have followed the instructions above - I’m not supposed to put any code in header.php …. right ?

My possible error scenario’s:
- (a plugin called Stattraq): This might interfeer with the header (Stattraq returns the referrer correctly in its stats page) - I deactivated the plugin …. it didn’t help
- (my theme: equiX): Could this do bad things to the header?

I’ve run out of solutions…

07/08-2006 | 19:47


Francisco H. Perez Says:

this is a very useful tool, better than recent posts and most popular posts. Although I will probably still implement something with most popular posts, this gives users the chance to find what they are looking for in your website.

08/08-2006 | 15:01


Joe’s Freeware Finds » Blog Archive » Landing Sites 1.3 Says:

[…] Landing sites 1.3… Help people looking for something by showing them related posts to their search on your blog.  Expand what is seen on your Landing Page to include related topics and posts. […]

09/08-2006 | 23:19


Free articles from supriyadisw.net » Landing sites 1.3 | The undersigned [del.icio.us] Says:

[…] Original post by noemail@noemail.org (supriyadisw) and software by Elliott Back You can also bookmark this on del.icio.us or check the cosmos […]

10/08-2006 | 17:41


ad Says:

Very cool Plugin!

Many thanks for that.

11/08-2006 | 10:32


Alex W. Says:

Rich Tatum,

Thank you for your suggestion — it was a good one and I did try it out. However, upon repeated testing, it did not work for me. It seems that when you click on a search engine result, the actual link you click does not include any search engine specific terms like “s=” — it just uses the regular old URL — so it still accesses the cached page (and, what’s worse, will actually cache the page if the first visit calls up Landing Sites, thus everyone gets the “You came here from Google looking for ‘bananas’”, regardless of how they got to the site!

Landing Sites must somehow be able to access the URL from the referring page and that’s how it figures out what to present to the visitor. Unless there was some way to pass that info along to WP-Cache — and then tell it not to use cached pages when the visitor comes from referring pages that include those search engine terms in the URL (as well as consider those pages as different than non-Landing Sited pages, so they don’t get caches as the ‘base page’) — I think I might be out of luck. :-( I was hoping that some super-coder here had already figured out how to do that.

Has anyone been able to make WP-Cache work with Landing Sites?

Alex

11/08-2006 | 18:30


Alex Says:

I spent a total of 5-6 hours to get this plugin to work - and in the end I just discovered that the 7 lines of text in the “installation”-instructions just didn’t work for me. Instead I had to use this code.

I’ve got no idea why - but who cares …. now this great plugin is working for me too :-)

12/08-2006 | 22:00



Ryan Williams Says:

Heh, I had that problem too. Then I realised it’s because Wordpress automatically converts apostrophes and quotes into fancy versions, which of course aren’t recognised by PHP. Turning them back into regular apostrophes fixes it. :(

12/08-2006 | 22:17


Kit Jarrell Says:

Hi there! Great, GREAT idea for a plugin. only problem is, I can’t get it to work. here’s the error I’m getting:

Parse error: syntax error, unexpected ‘>’ in /home/.layamon/eradmin/euphoricreality.com/wp-content/themes/andreas04-10/single.php on line 23

I’m using Mike’s updated code, and I pasted everything exactly the way it should. No blank spaces, and yet here’s this error. Any ideas?

Thanks much!

13/08-2006 | 17:48


Ryan Williams Says:

Use the code in the original installation instructions, but like I said in my comment above delete and retype the ‘ so they’re no longer Wordpress’s “fancy quotes”.

The best solution would be to simply retype it all as it appears on this page. Then you won’t accidentally paste across special HTML entities and such that Wordpress creates.

13/08-2006 | 18:03


Kit Jarrell Says:

Okay, I’ve tried both the code posted by Alex, and the original installation code. Even if it’s retyped, I’m getting an error, but now the error says “unexpected $end,” even though there is no “$end” anywhere in my single.php. I desperately want this plugin to work. Thank you for the help thus far.

13/08-2006 | 19:30


DG Says:

Hi,

Thanks for the nice plugin. I have implemented and also made a review post.

I hope you like it.

DG…

15/08-2006 | 1:14



DG Says:

@Kit Jarrell - If you still have problem in installing, you can visit this post and simply copy & paste the required code to make the plugin run on your site.

DG…

15/08-2006 | 1:48


admartinator.de Says:

[…] Landing Sites - Wenn Besucher über eine Suchmaschine auf deine Seite gelangen, suchen sie meist nach etwas Speziellem, landen aber nur auf der angeklickten Seite. Landing Sites zeigt zusätzlich relevante Seiten an. Beispiel gefällig? Sucht mal mit Google nach aktion gegen zappelndes www und klickt auf das erste Suchergebnis. […]

16/08-2006 | 8:00


Marco Raaphorst Says:

installed the plugin. found out that this causes an error:
’, ‘’, ‘’, ‘’, false, false); ?>

the tags I needed to take out.

but it still doesn’t work. I try google search but the message is not show and I am landing on the page including the code. strange!

17/08-2006 | 14:40


Frank Michlick Says:

You probably know this already, but this plugin does not work properly from the user comes from Google Reader for example, since there’s no search term transmitted.

Other than that: Great job! I am not using it yet, but I am planning on doing so soon.

19/08-2006 | 3:56