Redirects search results from /?s=query to /search/query/, and converts %20 to +.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Simple Search Rewrite

Redirects search results from /?s=query to /search/query/, and converts %20 to +.


This is a super-simple plugin which will turn WordPress' default /?s=query%20terms into /search/query+terms/ if you have pretty permalinks enabled.

This is something which I have been placing into a theme include or in a core functionality plugin until recently, but it makes sense to separate this functionality out into an individual plugin so it can be switched on and off independently.

The plugin has no administrative interface or control panel. Activation turns it on, deactivation turns it off. Once activated, performing a search using the standard WP search widget should give you a much nicer search URL.


  1. Install plugin.
  2. Activate the plugin through the 'Plugins' page in WordPress dashboard.


= 1.0.1 =

  • Switch from using wp_redirect to wp_safe_redirect.
  • Update author information and tested up to value.

= 1.0 =

  • Initial Commit.