Search Meter WordPress plugin version 2.7

Sunday, 23 May 2010

Version 2.7 of Search Meter, my free WordPress search statistics plugin, is now available. I have added four often-requested features:

  • Duplicated recent searches are shown only once in the Recent Searches plugin
  • You can now specify a list of filter words. Any searches containing these words will not show up in the recent and popular search widgets, even if the searches were successful
  • Search links in the widgets will work correctly whether or not fancy permalinks are enabled
  • The blog administrator can decide who is allowed to see full statistics: all logged-in users, authors and administrators, or administrators only

This version of Search Meter requires WordPress 2.3 or later. If you are still using an older version you should probably upgrade anyway, otherwise you can always use an older version of Search Meter.

Let me know how the new features work for you. If you have any comments or questions, just add a comment to this page.

Tags: ,


You can leave a comment, or trackback from your own site.

  1. I got an error that array_key_exists only works with arrays and objects. I fixed it, you may wanna replace the function with mine:
    // This is here to avoid E_NOTICE when indexing nonexistent array keys. There's probably a better solution.
    function tguy_sm_array_value(&$array, $key) {
    if (is_array($array) || is_object($array)) {
    return array_key_exists($key, $array) ? $array[$key] : null;
    } else {
    return null;

    I haven’t tested it much, but I assume this should work as you intended it.

    BTW: Thanks for this plugin, I’m already using it for years!

  2. Works wonders for our blog. With your plugin, we were able to see what our visitors are searching and we try to come up with blog posts regarding those searches.

    Keep up the good work!

  3. Hi Bennett,

    Currently have 2.7.3 of the plugin installed on and using “fancy permalinks” of just %postname%. However, the searches featured in the right hand widget on the site are not displaying correctly. Any ideas ?



  4. @Mike, it seems that it’s difficult to correctly handle spaces in search terms in every case. Thanks for your details — I will see if I can isolate the problem.

  5. Forgot to add, using wp 3.1 and site using genesis framework with serenity them from if it makes any difference. Hopefully you can resolve as the plugin is excellent when it works and would be a shame to have to disable….

  6. @Mike, a WordPress bug is the cause of this issue. It should be fixed in WP 3.2, but I will see if I can implement a workaround in Search Meter before that.

  7. Thanks for the update Bennett.

  8. Hi Bennett, Any update on this ? Still doesnt seem to be working under WP 3.1.2…

  9. Hmm, I was hoping 3.2 would be out soon. Perhaps not. I haven’t had much chance to investigate recently but I am still hopeful.

  10. This is one of only few wordpress plugin that bring tons of money pouring in.

    Really appreciate your work.

    I stick to last wp version that works in order to retain this plugin works as expected, until further patch were available.

    -nobody just thanks

  11. Hi Bennet,

    Wondering if you had managed to work a patch at all yet..

  12. I am testing a new mini-plugin to fix the WordPress bug. It’s impractical to fix it completely but it should improve matters until WP 3.2 is released in about three weeks. I will send you the plugin when I think it works!

  13. I’ve created Search Fixer, a plugin that patches WordPress so fancy search URLs work properly. With Search Fixer installed, the Search Meter widgets should finally function correctly.

  14. Works a treat 🙂 Thanks Bennett, you’re a legend 🙂 Good job.

  15. Hi Bennett,

    Just noticed that it’s not working as hoped. If you have a look at and search as normal for nike golf polo shirt, then that produces results, however the link that your plugin products with search fixer does not return any results ? Is it searching for “nike golf polo shirt” as a complete phrase rather than occurence of those words ?

  16. @Mike, you are right. Search Fixer hooks into WordPress after the search terms have been split into words — can’t reliably do it any earlier. As a result, searches are full-phrase searches rather than word searches. I’m still trying to figure out ways to improve this. It looks as if WordPress 3.2 will not include the fix, so I will try to improve Search Fixer and Search Meter to take up the slack. Stay tuned.

  17. OK, I have updated Search Fixer so it should work as expected now. Please try it out!

  18. Hi Brett,

    Seems to work fine on a number of sites Im using it on now – many thanks for sorting this.

    On another note, is there a way to display the output of the Popular searches widgets in a seperate page ? I’d like to have these links on a seperate page so that google will crawl and index the search results, but i dont want to put them in the sidebar…..



  19. Some searches say they’re returning 0 results when I know for a fact that results exist. Why would this be?

Leave a comment