Title: CeeWP Robots.txt Manager
Author: CeeWP
Published: <strong>2025 年 8 月 14 日</strong>
Last modified: 2025 年 8 月 14 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/ceewp-robots-txt-manager/assets/icon-256x256.png?rev=3344900)

# CeeWP Robots.txt Manager

 作者：[CeeWP](https://profiles.wordpress.org/ceewp/)

[下载](https://downloads.wordpress.org/plugin/ceewp-robots-txt-manager.1.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/ceewp-robots-txt-manager/#description)
 * [评价](https://cn.wordpress.org/plugins/ceewp-robots-txt-manager/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ceewp-robots-txt-manager/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ceewp-robots-txt-manager/#developers)

 [支持](https://wordpress.org/support/plugin/ceewp-robots-txt-manager/)

## 描述

CeeWP Robots.txt Manager is a lightweight and user-friendly plugin that allows you
to easily manage your WordPress site’s virtual robots.txt file. Add custom rules
without creating physical files, with full control over search engine access to 
your content.

**Why Choose Robots.txt Manager?**

 * **No File Management**: Works with WordPress’s built-in virtual robots.txt system
 * **Two Operating Modes**: Choose between appending to or replacing default rules
 * **User-Friendly Interface**: Clean admin panel with helpful examples
 * **WordPress Standards**: Follows all WordPress coding and security standards
 * **Automatic Cleanup**: Removes all data when uninstalled

**Key Features:**

 * Simple interface to add custom robots.txt rules
 * **Replace Mode**: Option to completely replace WordPress default robots.txt with
   custom rules
 * **Append Mode**: Add custom rules to existing WordPress robots.txt (default behavior)
 * **Dynamic Textarea**: Automatically adjusts height based on content
 * **Live Preview**: Direct link to view your robots.txt file
 * **Smart Warnings**: Alerts when search engines are discouraged
 * **Privacy Respect**: Honors WordPress privacy settings
 * **Examples Included**: Ready-to-use code snippets for common scenarios
 * **Professional UI**: Modern interface with WordPress dashicons

**Perfect for:**

 * **SEO Professionals**: Fine-tune search engine crawling behavior
 * **Website Owners**: Block access to private directories and files
 * **Developers**: Prevent indexing of development or staging content
 * **E-commerce Sites**: Control bot access to sensitive areas
 * **Content Creators**: Manage sitemap declarations and crawl rates

**How It Works:**

The plugin adds a new menu item under Settings > Robots.txt Manager where you can
easily add your custom rules. Choose between two modes:

 * **Append Mode (Default)**: Your custom rules are added to WordPress’s default
   robots.txt
 * **Replace Mode**: Your custom rules completely replace WordPress’s default robots.
   txt

The interface includes helpful examples, real-time textarea sizing, and a direct
link to view your live robots.txt file.

### Privacy

This plugin does not collect, store, or transmit any personal data. All settings
are stored locally in your WordPress database and are only used to generate your
robots.txt file.

### Credits

Developed with ❤️ by CeeWP – https://ceewp.com/

Special thanks to the WordPress community for continuous inspiration and feedback.

## 屏幕截图

[[

## 安装

**Automatic Installation (Recommended):**

 1. Go to your WordPress admin dashboard
 2. Navigate to Plugins > Add New
 3. Search for “CeeWP Robots.txt Manager”
 4. Click “Install Now” and then “Activate”
 5. Go to Settings > CeeWP Robots.txt Manager to configure

**Manual Installation:**

 1. Download the plugin zip file
 2. Upload the plugin files to the `/wp-content/plugins/ceewp-robots-txt-manager` directory,
    or install the plugin through the WordPress plugins screen directly
 3. Activate the plugin through the ‘Plugins’ screen in WordPress
 4. Use the Settings > Robots.txt Manager screen to configure your custom robots.txt
    rules

**After Installation:**

Visit Settings > Robots.txt Manager to start adding your custom rules. The plugin
includes helpful examples to get you started quickly.

## 常见问题

### Does this plugin create a physical robots.txt file?

No, this plugin works with WordPress’s virtual robots.txt functionality. It modifies
the virtual robots.txt file that WordPress generates automatically.

### Will my custom rules override WordPress’s default robots.txt?

By default, no. In **Append Mode** (default), your custom rules will be added to
the existing robots.txt content, and WordPress’s default rules will remain intact.
However, if you enable **Replace Mode**, your custom rules will completely replace
WordPress’s default robots.txt.

### What’s the difference between Append Mode and Replace Mode?

 * **Append Mode (Default):** Your custom rules are added to WordPress’s existing
   robots.txt
 * **Replace Mode:** WordPress’s default robots.txt is ignored, and only your custom
   rules are used

### Can I switch between modes?

Yes, you can toggle the “Replace Mode” checkbox in the plugin settings to switch
between append and replace modes at any time.

### What happens if I have privacy settings enabled?

If your site is set to discourage search engines (Settings > Reading > Search Engine
Visibility), the plugin will respect this setting and won’t add custom rules since
the entire site is already disallowed.

### Can I add any type of robots.txt directive?

Yes, you can add any valid robots.txt directive including User-agent, Disallow, 
Allow, Crawl-delay, and Sitemap directives.

### How do I test my robots.txt file?

You can view your robots.txt file by visiting yourdomain.com/robots.txt in your 
browser. The plugin also includes a direct link to view your live robots.txt file.
You can also use Google Search Console’s robots.txt Tester tool.

### What happens when I uninstall the plugin?

When you delete/uninstall the plugin, all custom rules and settings will be completely
removed from your database. Your WordPress site will revert to using the default
WordPress robots.txt. If you only deactivate the plugin (without deleting), your
settings will be preserved for when you reactivate it.

### Is this plugin compatible with caching plugins?

Yes, the plugin works with all major caching plugins. Since robots.txt is generated
dynamically by WordPress, your custom rules will be included regardless of caching.

### Can I use this with multisite installations?

Yes, the plugin works on both single site and multisite WordPress installations.
Each site in a multisite network can have its own custom robots.txt rules.

### Does this plugin affect website performance?

No, the plugin has minimal impact on performance. It only runs when the robots.txt
file is requested and uses WordPress’s built-in filtering system efficiently.

## 评价

此插件暂无评价。

## 贡献者及开发者

「CeeWP Robots.txt Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ CeeWP ](https://profiles.wordpress.org/ceewp/)

[帮助将「CeeWP Robots.txt Manager」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ceewp-robots-txt-manager)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ceewp-robots-txt-manager/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ceewp-robots-txt-manager/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/ceewp-robots-txt-manager/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ceewp-robots-txt-manager/)。

## 更新日志

#### 1.0.0

 * Initial release
 * Simple interface for adding custom robots.txt rules
 * **Replace Mode**: Option to completely replace WordPress default robots.txt
 * **Append Mode**: Add custom rules to existing WordPress robots.txt (default)
 * Dynamic textarea that adjusts to content length
 * Integration with WordPress virtual robots.txt system
 * Helpful examples and quick access to live robots.txt file
 * Smart warning system for discouraged search engines
 * Respect for WordPress privacy settings
 * Clean admin interface with WordPress dashicons
 * Automatic cleanup on plugin uninstall
 * Full WordPress Coding Standards compliance= 1.0.2 =
 * Improved: Updated plugin structure and naming consistency
 * Enhanced: Code optimization and WordPress standards compliance
 * Fixed: Minor bug fixes and improvements

#### 1.0.1

 * Added: Replace mode functionality for complete robots.txt control
 * Improved: Enhanced user interface with better visual indicators
 * Enhanced: Better sanitization and security measures

#### 1.0.0

Initial release of Robots.txt Manager plugin. Easy-to-use interface for managing
your WordPress robots.txt file with custom rules.

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**1 年前**
 *  活跃安装数量 **40+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.8.11**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/ceewp-robots-txt-manager/)
 * 标签
 * [bots](https://cn.wordpress.org/plugins/tags/bots/)[crawlers](https://cn.wordpress.org/plugins/tags/crawlers/)
   [robots](https://cn.wordpress.org/plugins/tags/robots/)[robots.txt](https://cn.wordpress.org/plugins/tags/robots-txt/)
   [seo](https://cn.wordpress.org/plugins/tags/seo/)
 *  [高级视图](https://cn.wordpress.org/plugins/ceewp-robots-txt-manager/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/ceewp-robots-txt-manager/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ceewp-robots-txt-manager/reviews/)

## 贡献者

 *   [ CeeWP ](https://profiles.wordpress.org/ceewp/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ceewp-robots-txt-manager/)