Title: Admin Robots.txt Editor
Author: Karan Makani
Published: <strong>October 30, 2025</strong>
Last modified: August 21, 2026

---

Search plugins

![](https://ps.w.org/admin-robots-txt-editor/assets/banner-772x250.jpg?rev=3387128)

![](https://ps.w.org/admin-robots-txt-editor/assets/icon-256x256.png?rev=3387128)

# Admin Robots.txt Editor

 By [Karan Makani](https://profiles.wordpress.org/makanikaran/)

[Download](https://downloads.wordpress.org/plugin/admin-robots-txt-editor.1.0.1.zip)

 * [Details](https://vec.wordpress.org/plugins/admin-robots-txt-editor/#description)
 * [Reviews](https://vec.wordpress.org/plugins/admin-robots-txt-editor/#reviews)
 *  [Installation](https://vec.wordpress.org/plugins/admin-robots-txt-editor/#installation)
 * [Development](https://vec.wordpress.org/plugins/admin-robots-txt-editor/#developers)

 [Support](https://wordpress.org/support/plugin/admin-robots-txt-editor/)

## Description

**Admin Robots.txt Editor** provides a secure WordPress admin interface for editing
the site’s `robots.txt` file.

The plugin supports both:

 * A physical `robots.txt` file in the WordPress installation root.
 * WordPress’s built-in `robots_txt` filter when a physical file does not exist.

### Features:

 * Edit and save `robots.txt` from the WordPress dashboard.
 * Reset the file to a sensible WordPress default.
 * Uses the official WordPress `robots_txt` filter.
 * Uses WordPress nonces and capability checks.
 * Uses the WordPress filesystem API with a controlled fallback.
 * Provides a default WordPress sitemap URL.
 * Prevents a public robots file from allowing crawling when WordPress search-engine
   visibility is disabled.

## Screenshots

[⌊Admin editor interface⌉⌊Admin editor interface⌉[

Admin editor interface

## Installation

 1. Upload the plugin ZIP through **Plugins > Add New > Upload Plugin**, or extract
    it into `/wp-content/plugins/admin-robots-txt-editor/`.
 2. Activate the plugin.
 3. Open **Robots.txt** in the WordPress admin sidebar.
 4. Edit the content and click **Save robots.txt**.
 5. Verify the public file at `https://example.com/robots.txt`.

## FAQ

### What happens if a physical robots.txt already exists?

The editor reads and updates the physical file. A physical file is normally served
directly by the web server, so the WordPress `robots_txt` filter is used when a 
physical file is not present.

### Does it require a sitemap plugin?

No. The default content uses WordPress’s standard `/wp-sitemap.xml` URL. SEO plugins
can replace or extend the robots.txt output as needed.

### Where can I find the editor?

Open **Robots.txt** in the WordPress admin sidebar.

### Is it compatible with current WordPress?

Version 1.0.1 follows the WordPress plugin coding and security practices and uses
the official `robots_txt` API.

## Reviews

![](https://secure.gravatar.com/avatar/3f7b34f6a5359d4dbafca71a88b732587f7770da9ba4cbfafbec1db9f46294cc?
s=60&d=retro&r=g)

### 󠀁[Simple and effective!](https://wordpress.org/support/topic/simple-and-effective-1668/)󠁿

 [Mukesh Parihar](https://profiles.wordpress.org/mukeshparihar/) January 7, 2026

Editing robots.txt has never been easier. Lightweight, intuitive, and works flawlessly
every time. Highly recommended!

![](https://secure.gravatar.com/avatar/d30a70fc60ed1ef978bc5a38e56c811794a59013e42ba838e0f56193c900f9cd?
s=60&d=retro&r=g)

### 󠀁[Super handy and easy to use!](https://wordpress.org/support/topic/super-handy-and-easy-to-use-2/)󠁿

 [Pravin Karmur](https://profiles.wordpress.org/pravin1996/) January 7, 2026

This plugin makes editing the robots.txt file a breeze. Clean UI, no fuss — perfect
for beginners and pros alike. Works exactly as expected!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/)

## Contributors & Developers

“Admin Robots.txt Editor” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Karan Makani ](https://profiles.wordpress.org/makanikaran/)

“Admin Robots.txt Editor” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/admin-robots-txt-editor/contributors)
for their contributions.

[Translate “Admin Robots.txt Editor” into your language.](https://translate.wordpress.org/projects/wp-plugins/admin-robots-txt-editor)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/admin-robots-txt-editor/),
check out the [SVN repository](https://plugins.svn.wordpress.org/admin-robots-txt-editor/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/admin-robots-txt-editor/)
by [RSS](https://plugins.trac.wordpress.org/log/admin-robots-txt-editor/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Updated compatibility information for WordPress 7.0.4.
 * Improved robots.txt file reading and writing.
 * Added safer filesystem handling and file locking.
 * Respected WordPress public/private site visibility in virtual robots.txt output.
 * Improved admin form actions, escaping, accessibility, and documentation.
 * Corrected documentation to match the actual admin menu location.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.0.1**
 *  Last updated **2 months ago**
 *  Active installations **700+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/admin-robots-txt-editor/) and [Spanish (Spain)](https://es.wordpress.org/plugins/admin-robots-txt-editor/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/admin-robots-txt-editor)
 * Tags
 * [admin](https://vec.wordpress.org/plugins/tags/admin/)[editor](https://vec.wordpress.org/plugins/tags/editor/)
   [robots](https://vec.wordpress.org/plugins/tags/robots/)[robots.txt](https://vec.wordpress.org/plugins/tags/robots-txt/)
   [seo](https://vec.wordpress.org/plugins/tags/seo/)
 *  [Advanced View](https://vec.wordpress.org/plugins/admin-robots-txt-editor/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/admin-robots-txt-editor/reviews/)

## Contributors

 *   [ Karan Makani ](https://profiles.wordpress.org/makanikaran/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/admin-robots-txt-editor/)