• Startup & Investor Resources
  • Recent Posts
  • Search
  • Contact Me

Instigator Blog

Lean Analytics, startups, angel investing, product management and more!

A Search Bug With WordPress 2.1 and Ultimate Tag Warrior

February 1, 2007 by Ben Yoskovitz

SimpleTags is still the easiest way to get Technorati tags on your blog, to help Technorati users find you. But on Andy Beard’s suggestion I decided to give Ultimate Tag Warrior another try.

The latest version of Ultimate Tag Warrior is 3.1415926. I installed it and after mucking with the settings a bit, I was able to get tags working on new posts. According to Andy, 50% of his Google organic traffic comes to the tag pages UTW creates, which is pretty amazing! A tag page looks like this one for blogging.

But then I noticed that using the SEARCH feature wasn’t working – it wasn’t picking up old posts. A blog needs a good search feature, people do use it to find interesting stuff buried in your archives, so after poking around a bit, I found the problem — there’s a bug with WP 2.1 and UTW for post searching.

There’s also a fix, which is fairly easy.

  1. Download the file ultimate-tag-warrior-actions.php and open it in Notepad or some other text editor.
  2. Locate the code:

    add_filter(‘posts_join’, array(‘UltimateTagWarriorActions’,’ultimate_search_join’));
    add_filter(‘posts_where’, array(‘UltimateTagWarriorActions’,’ultimate_search_where’));

  3. Comment out those two lines by putting // in front of each:

    // add_filter(‘posts_join’, array(‘UltimateTagWarriorActions’,’ultimate_search_join’));
    // add_filter(‘posts_where’, array(‘UltimateTagWarriorActions’,’ultimate_search_where’));

  4. Save the file and re-upload it.

The search feature on your site should now work. This will disable the search by tags functionality that the latest version of UTW supports, but that’s secondary to being able to search through old posts.

If you’re using a plugin for searching, this is not relevant, but most people are using the native WordPress search features.

I’m sure Ultimate Tag Warrior will be fixed soon, but if you can’t wait, go ahead and hack the file and give it a try.

Filed Under: Blogging

Want more content like this?

Signup for free and you'll get new content as soon as it's available. Thanks!

Ben Yoskovitz

Founding Partner at Highline Beta, a hybrid venture studio and VC firm that works with large, ambitious companies to identify new areas of opportunity through internal and external innovation.

Previously I was VP Product at VarageSale and GoInstant (acq. $CRM), and Founding Partner at Year One Labs.

Angel investments include: Breather, Spoiler Alert, SendWithUs and others.

My bio »

Buy Lean Analytics

Lean Analytics

"Lean Analytics is the missing piece of Lean Startup!" - Dan Martell, founder Clarity

Get the book at leananalyticsbook.com

Get updates

I've moved to Focused Chaos a newsletter focused on startups, investing and more. Please visit there to subscribe and get weekly content.

  • Startup & Investor Resources
  • Recent Posts
  • Search
  • Contact Me
Views expressed here are mine and mine alone.

Copyright © 2023 · Built on the Genesis Framework