wordpress Basically all pages of the website are read in real time according to user requests and stored indatabaseThe page generated from the data in . There is a problem, someserverWebsites with low configuration are easy to be maliciously attacked, resulting in full server CPU usage and load status 100%. In particular, WordPress has its own search function, which is easy to be exploited. Let me share with you a tool that can limit the built-in search of WordPress within a certain period of timeNumber of searchesMethods.
WordPress built-in search limit the number of searches within a certain period of time
Just install the Search Limiter & Blocker plug-in. It can limit the number of WordPress website user searches or limitWordPress Search Frequency
Description: You can set the search time limit and the number of searches within a certain period of time for visitors.plug-inThe IP addresses of your visitors are automatically detected and every search from those IP addresses is counted. Pro-test that the plugin is compatible with the latest version of WordPress.
The setting is very simple, as shown in the figure below, there are three input boxes, which are respectively set to limit the number of searches for visitors, the search time interval, and the prompt after the search is prohibited.

OK, that's it. Of course, using plug-ins can onlylimit search, but when the user volume is large, using this plug-in can indeed reduce the pressure on the server.
Commonly, it is once every 10s, every 30s, or every 60s to prevent frequent searches by users or malicious requests.
Search Limiter & Blocker Function
- Search Limit (Count): Limit the number of WordPress searches
- Block Time (in seconds): Limit WordPress search time
- Message for blocked visitor: WordPress banned search prompt