Title: Multipart robots.txt editor
Author: Viktor Szépe
Published: <strong>2014 年 9 月 14 日</strong>
Last modified: 2018 年 2 月 17 日

---

搜索插件

![](https://ps.w.org/multipart-robotstxt-editor/assets/banner-772x250.png?rev=989718)

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

![](https://ps.w.org/multipart-robotstxt-editor/assets/icon-256x256.png?rev=989718)

# Multipart robots.txt editor

 作者：[Viktor Szépe](https://profiles.wordpress.org/szepeviktor/)

[下载](https://downloads.wordpress.org/plugin/multipart-robotstxt-editor.0.4.0.zip)

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

 [支持](https://wordpress.org/support/plugin/multipart-robotstxt-editor/)

## 描述

#### This plugin needs more documentation!

You can edit your robots.txt and add remote content to it.
 E.g. you have several
sites and want to use a centralized robots.txt.

#### Features

 * Include or exclude WordPress’ own robots.txt (core function)
 * Include or exclude plugins – e.g. sitemap plugins – output to robots.txt (filter
   output)
 * Include or exclude a remote text file (the common part)
 * Include or exclude custom records from the settings page (the site specific part)

#### Where is robot.txt?

WordPress handles robots.txt as a virtual URL – just the same way as posts and pages.

So when you browse to `https://example.com/robots.txt` WordPress generates robots.
txt on the fly.

#### TODO

 * add more description here
 * add a video too
 * add an admin notice for subdir installs (robots.txt is useless in a subdir)
 * ‘At least one “Disallow” field must be present in the robots.txt file.’ – check
   for that

#### Links

Development of this plugin goes on on [GitHub](https://github.com/szepeviktor/multipart-robotstxt-editor).

## 安装

This section describes how to install the plugin and get it working.

 1. Upload the content of the ZIP feil to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 常见问题

  Where is robot.txt? Why isn’t it generated at WordPress root directory?

WordPress handles robots.txt as a virtual URL – just the same way as posts and pages.

So when you browse to `https://example.com/robots.txt` WordPress generates robots.
txt on the fly.

  How often will be the remote text file downloaded?

Every 24 hours and when you press the Sava Changes button on the setting page.

## 评价

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

### 󠀁[Even after deleting robots.txt still showing](https://wordpress.org/support/topic/even-after-deleting-robots-txt-still-showing/)󠁿

 [kk43man](https://profiles.wordpress.org/kk43man/) 2019 年 1 月 10 日

hello why it is still showing your robots.txt file even after deleted your plugin
and files. I created my own robots.txt file and uploaded. Still showing your genereted
file and even i deleted. Still showing why?????????

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

### 󠀁[Was unable to remove but now fixed](https://wordpress.org/support/topic/once-installed-cannot-remove/)󠁿

 [cweb](https://profiles.wordpress.org/calebweb/) 2018 年 2 月 3 日 1 回复

Fixed error quickly

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/multipart-robotstxt-editor/reviews/)

## 贡献者及开发者

「Multipart robots.txt editor」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

「Multipart robots.txt editor」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/multipart-robotstxt-editor/contributors)
为本插件所做的贡献。

[帮助将「Multipart robots.txt editor」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/multipart-robotstxt-editor)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.4.0

 * After Shiny Updates (AJAX plugin actions) it was not possible to uninstall

#### 0.3.0

 * Prettify and sort output (thus the final robots.txt) by [Robots.txt-Parser-Class by @t1gor](https://github.com/t1gor/Robots.txt-Parser-Class)
 * Update core’s default robots.txt content

#### 0.2.2

 * Added explanation about robots.txt file – NO code change

#### 0.2.1

 * Googlebot needs CSS and JS files
 * Introducing semver

#### 0.2

 * Fixed some serious PHP Notices, sorry

#### 0.1

 * Initial release

## 额外信息

 *  版本 **0.4.0**
 *  最后更新：**8 年前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 4.7 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/multipart-robotstxt-editor/) 和 
   [Swedish](https://sv.wordpress.org/plugins/multipart-robotstxt-editor/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/multipart-robotstxt-editor)
 * 标签
 * [google](https://cn.wordpress.org/plugins/tags/google/)[robot](https://cn.wordpress.org/plugins/tags/robot/)
   [robots](https://cn.wordpress.org/plugins/tags/robots/)[robots.txt](https://cn.wordpress.org/plugins/tags/robots-txt/)
   [search](https://cn.wordpress.org/plugins/tags/search/)
 *  [高级视图](https://cn.wordpress.org/plugins/multipart-robotstxt-editor/advanced/)

## 评级

 3.3 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/multipart-robotstxt-editor/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/multipart-robotstxt-editor/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/multipart-robotstxt-editor/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/multipart-robotstxt-editor/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/multipart-robotstxt-editor/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/multipart-robotstxt-editor/reviews/)

## 贡献者

 *   [ Viktor Szépe ](https://profiles.wordpress.org/szepeviktor/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/multipart-robotstxt-editor/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://szepe.net/wp-donate/)