Better WP Search

Plugin Banner

Better WP Search

by Brandon Himpfen

Download
Description

Better WP Search improves the default WordPress search functionality currently in two ways:

  1. If there is only one search result, redirect to that post; and
  2. Replaces search URL from /?s=query to /search/query.

The plugin will offer more features in the future. If you have a suggestion? Use the plugin’s
forum to make suggestions.

To manually install the Better WP Search plugin:

  1. Upload better-wp-search directory to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

If you are installing the plugin through the admin panel:

  1. Go to add new plugin page and search for Better WP Search.
  2. Install the plugin and then activate the plugin.

1.1.1

  • Tested with WordPress 6.9.

1.1.0

  • Refactor to a class-based structure.
  • Use wp_safe_redirect() and add safety guards.
  • Add filters for enabling/disabling and customizing redirect URLs/status codes.

1.0.0

  • Initial commit of files.
Back to top