# How do I block BephicBot in robots.txt?

Source: https://bephic.com/docs/bephic-bot/block-bephicbot/
Updated: 2026-09-30

Add these two lines to your `robots.txt` file. BephicBot reads it **before each visit** and, with them, will not come in again:

```
User-agent: BephicBot
Disallow: /
```

## Step by step

1. Open your site's `robots.txt` file. It is at the root, for example `https://yoursite.com/robots.txt`. If it does not exist, create it.
2. Add the two lines above, in a block of their own (with a blank line before, if there are other rules).
3. Save the file and upload it to your site.
4. Check that it opens in the browser at `https://yoursite.com/robots.txt`.

If someone else built your site or you use a site builder (like WordPress, Wix or Shopify), look for the option to edit `robots.txt` in its settings, or ask whoever manages it.

## When it takes effect

On the **next visit**. BephicBot does not keep your old `robots.txt`: it asks for it again every time. You do not need to tell us.

## If you already block every robot

If your `robots.txt` has this, BephicBot does not come in either:

```
User-agent: *
Disallow: /
```

Careful: if you also have a block of its own for BephicBot, BephicBot follows that block and not the general one. See [How does BephicBot read my robots.txt?](https://bephic.com/docs/bephic-bot/robots-rules/).

## Test it

On the [Bephic Bot](https://bephic.com/bot/) page you can paste your `robots.txt` and see whether BephicBot can come in. See [How do I test whether BephicBot can come in?](https://bephic.com/docs/bephic-bot/robots-tester/).

> **Note:**
> This blocks only BephicBot. BephicSEO does not read `robots.txt`. See [How do I block BephicSEO?](https://bephic.com/docs/bephic-bot/block-bephicseo/).

## Related articles

- [How does BephicBot read my robots.txt?](https://bephic.com/docs/bephic-bot/robots-rules/)
- [How do I test whether BephicBot can come into my site?](https://bephic.com/docs/bephic-bot/robots-tester/)
- [How do I let BephicBot in if I block other robots?](https://bephic.com/docs/bephic-bot/allow-bephicbot/)
