I read this post on Blogging Pro about some needed WordPress plugins, as suggested by Chris Pirillo. As I was reading through them, I thought, “Damn, I could do that fourth one pretty easily.”

For reference, the fourth one was as follows:

What about a plugin that takes incoming search terms and auto-tags the post based on those terms (with or without moderation)? So, if a user searches for KeywordXYZ on Google and ultimately visits one of the blog entries, that blog entry will have the KeywordXYZ added to its tag list (via UTW or something).

And so I wrote it.

Presenting Search Term Tagging 1.0 (Beta, of course)

You may download the source here: http://17thdegree.com/wp/searchTermTagging.phps

I’ve only tested on my WordPress, version 2.0.2 (I know I need to upgrade), installation. No guarantees on anything working or breaking.


  1. Download Source (above)
  2. Activate the plugin
  3. Add this code to display it wherever you want it to be seen on your blog:
    /* Search Term Tagging Plugin */
    echo "<div id=\"searchTermTagging\">n";
    echo stt_terms_list();
    echo "</div>n";

Any questions, comment here. There isn’t a whole lot to it. So, what would you guys like added to it? Also, I’m not really tied to the name for this plugin, any better ideas?

23 Responses to “WordPress Plugin: Search Term Tagging 1.0 Beta”

  1. Pande Says:

    Hi, I’m trying to use your plugin in my sidebar, but when it loads stops and WP says: “Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’ in wp-content/themes/doogate-maroon-200612/sidebar.php on line 48″, I’m using:
    echo stt_terms_list();
    echo “\n”;
    Can you please help me?


  2. hi my name is sid » Wordpress : Add Search Terms To UTW Tags Plugin Says:

    […] i found one : Search Term Tagging Only Problem is it makes the tags in it’s own tag system. Well of course i, see a need – fix […]

  3. Greg Sidberry Says:

    i updated your plugin to use utw http://elsid.net/2007/05/16/wordpress-add-search-terms-to-utw-tags-plugin/

  4. Ronnie Says:

    Pande – it’s better if you put on the single.php above the permalink

  5. Rahmat Says:

    I get a warning message:
    Warning: array_unique() [function.array-unique]: The argument should be an array in /home/username/public_html/wp-content/plugins/searchTermTagging.php on line 118

    How I fix this is by add this line inside php code in the plugin:


    Hope this helps.


  6. Menghilangkan Pesan Warning Dari Plugin Search Term Tagging - dhikapahridas.com Says:

    […] pengguna plugin “Search Term Tagging” ? Plugin ini kerjanya mirip dengan bstat, hanya saja lebih ringan untuk dijalankan (tapi […]

  7. Ron Says:

    How can I make the search terms to link to its post permalink?

    Please help me out…

  8. Tacio Almaraz Says:

    Hope it works with 2.5

  9. Hemanth Says:

    Any updates to the new version of WordPress? It is not working in the 2.5x version?

    Thank you

  10. Flávio Says:


    This plugin is great… but I´m in trouble.
    I can not set the number of search terms to appear.
    I think if so many terms appear in my page, I will be penalized by Google.

    Can you help me?

    Thank you.

  11. didi Says:


    I like your plugin but how to set maximum query on single page 40 character text? Like set table.Please help me because to much query text result on my blog.

  12. Free Download Plugin Search Term Tagging | Download-IndexOf.Com Says:

    […] Plugin Search Term Tagging memang sangat membantu kita agar lebih mengoptimalkan SEO “Search Engine Optimization”. fungsi dari plugin ini adalah untuk menjaring keyword-keyword dari para pengunjung. jadi setiap visitor yang mampir ke web / blog anda dengan keyword tertentu misal “Download Plugin Search term tagging” maka kata tersebut akan muncul dimana anda meletakannya. caranya… […]

  13. Search Term Tagging Plugins Says:

    […] of plugins: Search Term Tagging Author: James Asher Functionality: if a user searches for Keyword XYZ on Google or other search engines and ultimately […]

  14. Search Term Tagging 1.0, plugin que agrega los keywords de los buscadores a nuestro post | Pablo Glanz Says:

    […] Search Term Tagging 1.0 tenemos una buena herramienta para conocer con que palabras llegaron desde un buscador a nuestros […]

  15. Bangla Says:

    How can I make the search terms to link to its post permalink?

  16. Meningkatkan Pengunjung Blog dengan Search Term Tagging WP-Plugin | Syahuri dot Com Says:

    […] http://17thdegree.com/archives/2006/08/15/wordpress-plugin-search-term-tagging-10-beta/ […]

  17. Search Term Tagging Plugins « catatan harian argi Says:

    […] efektif bagi saya adalah plugin Search Term Tagging, plugin ini dapat didownload langsung dari 17th Degree, namun pada download-an aslinya masih terdapat bugs yang sudah diberikan solusinya oleh oom Cosa di […]

  18. fachrul Says:

    wow. .incredible plugins:D

  19. Stream Says:

    thx for the plugins. .it work normally

  20. agitsan Says:

    i dont see any upgrade for this plugin,why still beta version

  21. Bangladesh Says:

    Thanks for this plugin. I am using it successfully. But it has a lack of configuration option, such as how can I show search term horizontally not vertically?

  22. Ten Happer Says:

    Please, update your plugin, it’s very interesting, ¿can you index pages with the terms, like http://site.com/s34rch/1+term? and tricks for 404.php of w0rdpr3ss.

  23. UltraSnow Says:

    Thats really a great plugin, are there any new versions?
    You can use this for great SEO purposes..

Drop Some Knowledge On Us…