WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The standard search for Wordpress works, but doesn't seem too clever. If I search for 'tomato' and I have a page whose title is 'Tomato' I would expect that to come first in the results. However the results seem to be ordered by date published. So if a page/post mentions 'tomato' somewhere in the text, it will be first in the results if it was just published.

How would I make Wordpress prioritise page titles in the search?

(I'm using the Starkers theme)

share|improve this question
up vote 4 down vote accepted

You can replace the default Wordpress search with something more useful. As you have pointed out, the build-in search is very limited. So you're not the first one with this problem. I suggest the following two plugins:

The last one allows to weight between parts of a post. But keep in mind that it needs you to configure and make use of Sphinx, a free open-source SQL full-text search engine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.