This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

One Search Result

Descripcion

When there is only one search result available for a query, automatically redirect the user to that result.

This will work with any theme and any posts, pages, or custom post types that would be shown in search results.

Available Filters

You can filter one_search_result_pre_check to false if you need to short-circuit and disable the redirect dynamically.

You can modify the redirect code with once_search_result_redirect_code, defaults to 302.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“One Search Result” is open source software. The following people have contributed to this plugin.

Contributors

Translate “One Search Result” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.0

  • Added another filter, cleaned up code.

1.0.3

  • Initial release