# robots.txt Editor for WordPress

> Edit robots.txt from the dashboard, block AI crawlers if you want, and point search engines at your sitemap. Part of Toggleworks, one plugin for the whole…

TW-SEO-07 SEO


Edit robots.txt from the dashboard, block AI crawlers if you want, and point search engines at your sitemap.

[Get it from $26 a year](https://togglework.app/pricing/#plans) [Try it in the demo](https://togglework.app/demo/)

robots.txt Editor

**Part number**
: TW-SEO-07
**Section**
: [SEO](https://togglework.app/features/seo/)
**Settings**
: 3 (2 on/off)
**Starts**
: Switched off
**In plans**
: Every plan

## Why it matters

robots.txt tells crawlers where they may go. WordPress generates a basic one; editing it usually means FTP. A mistake, such as a leftover “Disallow: /” from staging, can hide a whole site from search.

### What it does

- Edits robots.txt from the dashboard.
- Optionally asks AI training crawlers to stay out.
- Adds the sitemap line.

![robots.txt Editor settings screen in the Toggleworks WordPress plugin, showing Rules, Ask AI training crawlers to stay out, Add the sitemap line](https://togglework.app/wp-content/themes/toggleworks-site/assets/img/parts/seo-robots-txt.webp?v=1795524249)

The robots.txt Editor screen in wp-admin, where you switch it on and change its settings.

## Set it up

1. Review the rules and keep the sitemap line on.
2. Open /robots.txt to check the result.

## What you can set

Switch robots.txt Editor on in Toggleworks → SEO, then adjust any of these. Each one starts with a default, so you can switch the part on first and fine-tune later.

- Rules
- Ask AI training crawlers to stay out
- Add the sitemap line

## Good to know

- Robots.txt doesn’t remove pages from search; use noindex for that ([Titles & Meta](https://togglework.app/features/seo/meta-tags/)).
- For per-group AI rules and Content Signals, use [AI Crawler Rules](https://togglework.app/features/ai/crawler-rules/).

[Guide: The technical WordPress SEO checklist](https://togglework.app/guides/wordpress-seo-checklist/)

## One less plugin to install

robots.txt Editor does a job people often install a separate plugin for:

- Editing robots.txtOften done with Yoast SEO

## Comes with 187 more parts

robots.txt Editor is one part of Toggleworks, a single plugin for security, speed, SEO, backups, email and store tools. Switch on what your site needs; the rest stays off and loads nothing.

[All 11 SEO parts](https://togglework.app/features/seo/)

### People also look for it as

- robots.txt
- crawlers
- gptbot
- ai bots
- disallow

## Often switched on with it

- [AI Crawler Rules](https://togglework.app/features/ai/crawler-rules/) — TW-AI-12 New · Choose which AI crawlers may read your site — answer engines, model trainers, and fetches made for a user — say how your content… · 9 settings
- [Agent Readiness Check](https://togglework.app/features/ai/agent-readiness/) — TW-AI-04 New · Scores how ready your site is for AI agents — the same checks as isitagentready.com and the Markdown (AEO) standard behind… · 1 setting
- [Block Editor Tweaks](https://togglework.app/features/content/editor-tweaks/) — TW-CNT-07 · Make the block editor calmer: skip the welcome guide and fullscreen mode, hide the block directory, core patterns and Openverse… · 8 settings
- [Bulk Editor](https://togglework.app/features/content/bulk-editor/) — TW-CNT-03 · Edit many posts, pages or products in one spreadsheet-like screen — titles, status, slugs, prices, sale prices and stock — and… · Own screen in wp-admin
- [Editor Restrictions](https://togglework.app/features/security/editor-restrictions/) — TW-SEC-04 · Let a client, freelancer or team member edit only the pages and posts you pick. Set it on each user’s profile; everything else is… · Own screen in wp-admin
- [Broken Link Checker](https://togglework.app/features/seo/broken-links/) — TW-SEO-01 · Checks every link in your posts and pages in the background and lists the broken ones, with one-click unlink or redirect. · 4 settings

## Questions

**Is robots.txt Editor included in every Toggleworks plan?**

Yes. Every plan includes all 188 parts, robots.txt Editor among them. Plans differ only in how many sites you can use them on, and staging or local copies of a site don’t count.

**Does robots.txt Editor slow my site down when it’s switched off?**

No. Every part starts switched off, and a part that is off loads none of its code. Switch on robots.txt Editor only if your site needs it.

**What if a setting locks me out?**

Add `define( 'TOGGLEWORKS_SAFE_MODE', true );` to wp-config.php. It pauses every part until you remove the line, and Tools → Recent changes lets you undo a change.

**Can I try robots.txt Editor before I buy?**

Yes. The [live demo](https://togglework.app/demo/) runs a WordPress site with Toggleworks in your browser, and every plan has a 14-day refund.

## Switch off the plugin pile.

All 188 parts, one license, updates and support. 14-day refund.

[Choose a plan](https://togglework.app/pricing/#plans) [Try the live demo](https://togglework.app/demo/)

---

Source: https://togglework.app/features/seo/robots-txt/
