Wordpress Plugin: Search Engine Keywords

Features

  • Display to the visitor coming from search engines a message based upon what they’re searching for

Introduction

I created a Wordpress plugin released under the GNU GPL Licence that can be used to correlate the keywords used to find your page on the search engines to a box where you can put anything you want, for example your affiliate marketing links, a link to something you want your visitor to read, or a “hello” to the visitor.

We all know from our site stats what our visitors are searching for on our site. Sometimes they come looking for something that isn’t there. So, you can leave them a personalized message.

Otherwise, you may be looking for ways to monetize your site: this plugin is fantastic for this, because it gives you the opportunity to display some tematic links (quite in a Adsense way, but you control it). You can send affiliate marketing links to the visitor interested in them.

This is my first Wordpress plugin, so any suggestion is welcome. Please leave a comment this page if you find it useful.

How does it work?

It doesn’t address a single page, but all the pages that are listed in the search engine SERPs for that particular key.

Thanks to the functions written by Thomas Silkjær in his Landing Sites WP plugin, the plugin finds out what keyword the visitor typed in the search engine form to get to the site.

In the administrator panel, you can set the keywords to search for, and the message you want to display, written in XHTML. You can then style it as you want using your CSS file, adding some selectors for the div #copesSearchEngineKeywordPlugin.

Wordpress Plugin administrator panel

Wordpress Plugin administrator panel

How to install

Download the Search Engine Keywords Wordpress Plugin

Download the plugin, then unarchive it and install it by uploading the CopesSearchEngineKeywordPlugin directory to your Wordpress installation, in the wp-content/plugins directory.

Then activate it from the administrator panel Plugins.

In order to get this plugin to work, you have to put these lines in your template, wherever you want your message to appear. To give it a great visibility, I suggest to put it at the end of the header.php file, so that the message will be displayed before the post.

<div id="copesSearchEngineKeywordPlugin">
<?php if (class_exists("CopesSearchEngineKeywordsPlugin")) {
$copesSEK = new CopesSearchEngineKeywordsPlugin();
echo $copesSEK->addContent();
}
?>
</div>

Hope you like it!

Download the Search Engine Keywords Wordpress Plugin

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
Tags: , , , ,

11 Responses to “Wordpress Plugin: Search Engine Keywords”

  1. Rui Cruz Says:

    We have to add each keyword. Damn, I’ve so many.

    Next time add a funtion to display the same message for all keywords.
    With %vars like %google %yahoo %url %blogname, etc.

    Rui

  2. Copes Flavio Says:

    This is not what the plugin is meant to be, but thanks for the hint.
    If you want to display the same message for all the keywords, use the Landing Sites plugin (you can find the link in the above post). Just put in your template the lines

    < ?php if (ls_getinfo(‘isref’)) { ?>

    Message

    < ?php } ?>

  3. Dan (future gadgets blog) Says:

    I like your blog theme. I want to use it on my blog.
    Can you please tell me from where I can download these theme?

    Many thanks

    ——————————————————————————–
    Dan owner of the future gadgets blog future gadgets and inventions

  4. Copes Flavio Says:

    Hi Dan, this is a theme I designed from scratch, i’m sorry but it’s not publicly available.

    I’m happy you like it ;-)

  5. Mieszkania Poznan Says:

    Will it not ban you from adsense? You use script to change content to adjust ads on your site. I’d rather ask guys from adsense if it’s ok.

  6. Copes Flavio Says:

    Hi, I don’t know the policy of adsense, since I don’t use it. Affiliate marketing is a different thing.
    Adsense itself changes the content to adjust ads based on the content of the page, why wouldn’t it be ok to do it?

  7. Mieszkania Poznan Says:

    Because you adjust page dynamically to the viewer. I don’t know the exact policy of adsense but my friend was banned for displaying content based on keywords searched.

    I’ve to admit that I didn’t have time to use your plugin (will do tomorrow) and can’t tell more but the idea is very good.

  8. Copes Flavio Says:

    In that case, if you use adsense it’s better not to use this plugin.

    Thanks for your appreciation ;-)

  9. Janet Says:

    Interesting! I’m really helped. It’s really smart idea. Do you know you can make your blog more popular? maybe I can help you, you may contact me at anytime you want.

    Cheers

  10. Emarketscout Says:

    Hi,

    i must admit that i’ver never seen it this way.

    But to succeed with making money online, i ‘d strongly advice that you get yourself a treasure map - a roadmap to Affiliate success …*-)

    Michael

  11. Franca Richard Says:

    I wanna have a try, thanks for ur contribution!

Leave a Reply

Name (obbligatorio)

Mail (will not be published) (obbligatoria)

Website