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.

Disable Search Slug


If bots are attacking your site by appending /search/a-random-string-or-word, then those pages may be getting indexed by search engines, or populating search logs.

This plugin disables that permalink structure.

Search forms will still work, and the search results page will use the less index-friendly ?s=search-term format.


  1. Upload the plugin files to the /wp-content/plugins/disable-search-slug directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

There are no settings pages. It just works.


Will search forms still work?


Will URLs at `?s=search-term` still work?



መስከረም 3, 2016
Installed this plugin last week to disable the search slug. It’s perfect.. Gets the jobs done. Many thanks for Gary for the awesome plugin. And he is very responsive in addressing bugs too.
Read all 1 review

Contributors & Developers

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


Translate “Disable Search Slug” into your language.

Interested in development?

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



  • Fix permalink change not persisting through flush rewrite rules.
  • Fix change log link.


  • Initial release.