Go Straight to a Single Search Result
When a search returns exactly one result, opens that result directly instead of showing a results page.
Snippet Library
Snippets that improve WordPress search: search custom fields and post types, exclude pages, redirect single results and highlight matching words. For content-heavy sites where visitors need to find things quickly.
When a search returns exactly one result, opens that result directly instead of showing a results page.
Redirects ?s=term searches to /search/term/ when pretty permalinks are enabled, which gives cleaner, shareable URLs.
Sends visitors who submit the search form without typing anything back to the homepage instead of showing every post.
Opens a chosen page directly when someone searches for an exact word or phrase, for example "contact" goes to your contact page and "returns" to your returns policy.