Stops /search/... URLs from working, resulting in a WordPress 404 page not found.
As of April 2026, Disable Search Slug is a WordPress search plugin with 10 active installations and a 5/5 rating from 1 reviews. It has been downloaded 2.1K+ times in total. Requires WordPress 1.5.0+ and PHP false+. Available on WordPress.org since 2016. Last updated 9 years ago — may have compatibility concerns. Top alternative: String locator.
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.
| WordPress | 1.5.0+ requiredTested up to 4.6.0 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.