“Get Awesome WordPress Blog Search with These Tips”

WordPress Version 3.5 has recently been launched, bringing with it some impressive new media handling capabilities and a fresh default theme, among other improvements. While it is undoubtedly a step in the right direction, the release of a new version of WordPress always reminds me of the shortcomings that have yet to be addressed. Don’t get me wrong; I love WordPress and wouldn’t dream of using another content management system, but it is far from perfect.

One of the most significant issues I have with WordPress is its search functionality on both the front and back end. Anyone who has used WordPress for an extended period will likely share my frustration with the default search algorithm’s ineffectiveness.

In this post, I want to introduce you to what I consider to be the best solution for dramatically improving WordPress’s search functionality.

Why is WordPress’s Default Search Engine So Bad?

Before I get to that, let’s first recap why I am so keen to avoid default WordPress search. It’s all to do with the matching algorithm, which selects results by mention of a keyword and presents them in reverse chronological order. This may not sound too bad in principle, but when applied practically, it returns poor quality search results.

For instance, suppose you had written a post that covered everything one would need to know about blue widgets. You had then linked to that post in five more recent posts that focused on widgets of differing colors. If someone searched for “blue widgets” on your blog, that ultimate blue widget resource would be the sixth post returned, despite being the most relevant result.

This is also a problem when searching on the back end. If you publish many posts on your blog and need to find a post that you published some time ago, you may have trouble locating it due to the WordPress search engine’s woeful matching algorithm. It used to be a source of endless frustration for me.

What is the Solution?

There are several plugins that I have no hesitation in installing in new blogs, and Relevanssi is one of them. This free plugin is a complete solution for improved search relevancy on both the front and back end of your WordPress blog(s).

Here are the key features that make Relevanssi so much better than the default WordPress search engine:

1. Search results sorted in the order of relevance, not by date.

2. Fuzzy matching: match partial words if complete words don’t match.

3. Find documents matching either just one search term (OR query) or require all words to appear (AND query).

4. Search for phrases with quotes, for example, “search phrase.”

5. Create custom excerpts that show where the hit was made, with the search terms highlighted.

6. Highlight search terms in the documents when the user clicks through search results.

7. Search comments, tags, categories, and custom fields.

The details aren’t really that important because the proof is in the pudding. Install this plugin and search your blog, and you will be able to see the positive results for yourself.

For example, I have written about Twitter specifically on a handful of occasions, so a good search engine should return those posts as the most relevant results. Here’s the first result returned by the default WordPress search engine:

Presumably, my November income report mentioned Twitter in passing, but the post didn’t focus on Twitter at all. Now let’s take a look at the results returned by Relevanssi:

The default WordPress search engine didn’t return any of the four posts I have tagged with “Twitter” on the first page. Relevanssi returned all four posts in the top six results.

Additional Features

In case its hugely superior search engine isn’t enough for you, Relevanssi has additional features up its sleeve.

First of all, there are several ways in which you can change the search functionality itself:

1. Adjust the matching algorithm (by titles, tags, and comments)

2. Restrict searches to categories and tags

3. Index custom post types and taxonomies

4. Index the contents of shortcodes

5. Add Google-style “Did you mean?” suggestions

Furthermore, you can set Relevanssi to log user queries, allowing you to examine what people are searching for on your blog. The benefit of this should be clear; you can use search queries as a basis for shaping your content strategy (the assumption being that people want what they search for).

While Relevanssi is entirely free to use, there is a premium version available with additional features, including:

1. Improved spelling correction in “Did you mean?” suggestions

2. Multisite support

3. Search and index user profiles

4. Assign extra weight to new posts

5. Let the user choose between AND and OR searches, use + and – operator (AND and NOT)

The premium version certainly isn’t necessary; I’ve been using the free version for over a year and am extremely happy with how it has performed.

Reward Your Visitors with Better Search

There is no reason why you shouldn’t install and activate Relevanssi on your WordPress blog now. The setup time is almost non-existent, and you needn’t worry about it once it is up and running. You can take the time to fiddle with the settings to your liking, but it isn’t necessary; it works really well out of the box.

While there are alternatives out there, I consider Relevanssi to be the best. Do you agree? I’d love to read your thoughts in the comments section!

Download Relevanssi from WordPress.org →

Stay in Touch

spot_img

Related Articles