How to block semrush bot
- George Apostolov
- 05 Sep 2025
Guide
Head over to Plugins in the left sidebar of your WordPress dashboard.
Select Add New from the dropdown.
Search for Robots.txt in the plugin marketplace.
You can select and install any of the robots text editor apps. Let's go with Robots.txt Editor
After installation, head over to Settings>Reading in the left sidebar.
To block the Semrush bot type:
User-agent: SemrushBot
Disallow: /
Finally, clear the cache by going to Toolbar > WPRocket > clear cache to set things in motion.
Create your first interactive demo in minutes
No credit card required • Start building today


