---
title: "Edit robots.txt in WordPress — Zinn® SEO"
description: "Change your robots.txt safely from WordPress, with checks that stop you blocking search engines by mistake."
url: "https://zinnseo.com/kb/edit-robots-txt-in-wordpress"
lang: "en"
dir: "ltr"
---

# Edit robots.txt in WordPress

Change your robots.txt safely from WordPress, with checks that stop you blocking search engines by mistake.

1. ## Open the robots.txt tab

   Go to SEO, Sitemaps and AI, robots.txt. You see the file exactly as search engines receive it.

   ![Open the robots.txt tab](https://zinnseo.com/shots/en/guides/robots-1.webp)
2. ## Edit your rules

   Add or change rules in the editor. It checks them the way search engines read them and warns you about mistakes.

   ![Edit your rules](https://zinnseo.com/shots/en/guides/robots-2.webp)
3. ## Test before you save

   Type any address of your site, pick a crawler and see whether your rules would let it in. Save only when the answer is the one you want.

   ![Test before you save](https://zinnseo.com/shots/en/guides/robots-3.webp)
4. ## Have a real robots.txt file?

   If a robots.txt file already sits on your server, Zinn® SEO tells you and can bring its rules in. On a staging copy of your site everything is blocked for you.

   ![Have a real robots.txt file?](https://zinnseo.com/shots/en/guides/robots-4.webp)

Next guide: [Control page 2 and on, and previous/next links](https://zinnseo.com/kb/control-page-2-and-previous-next-links)

From the same team

## Want fast hosting to go with it?

Zinn Digital® hosts WordPress on its own servers, with a CDN, DNS, TLS and daily backups included in every plan.

[See hosting plans](https://zinndigital.com/hosting)
