# How to block semrush bot

> To block Semrush bot in WordPress, navigate to Plugins, install the Robots.txt Editor plugin, access Settings and Reading, add the user-agent and disallow directives, and clear the cache using WPRocket.

Canonical: https://livedemo.ai/tutorials/how-to-block-semrush-bot/
Apps: Semrush
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2ff2d673bd5aa8e62836/preview?step=1

## Steps

1. Head over to Plugins in the left sidebar of your WordPress dashboard.
2. Select Add New from the dropdown.
3. Search for Robots.txt in the plugin marketplace.
4. You can select and install any of the robots text editor apps. Let's go with Robots.txt Editor
5. After installation, head over to Settings>Reading in the left sidebar.
6. To block the Semrush bot type: User-agent: SemrushBot Disallow: /
7. Finally, clear the cache by going to Toolbar > WPRocket > clear cache to set things in motion.
