Title: Bisteinoff SEO Robots.txt
Author: Denis Bisteinov
Published: <strong>2016 年 12 月 1 日</strong>
Last modified: 2025 年 12 月 19 日

---

搜尋外掛

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

![](https://ps.w.org/db-robotstxt/assets/icon.svg?rev=2956961)

# Bisteinoff SEO Robots.txt

 由 [Denis Bisteinov](https://profiles.wordpress.org/bisteinoff/) 開發

[下載](https://downloads.wordpress.org/plugin/db-robotstxt.4.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/db-robotstxt/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/db-robotstxt/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/db-robotstxt/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/db-robotstxt/#developers)

 [技術支援](https://wordpress.org/support/plugin/db-robotstxt/)

## 外掛說明

Have you encountered an obstacle while creating and editing robots.txt file on your
website?

Bisteinoff SEO Robots.txt is an easy-to-use plugin that helps you generate and configure
a correct robots.txt file, which is essential for search engine optimization (SEO).
This file defines crawling rules for search engine bots such as Google, Bing, Yahoo!,
Yandex, and others.

The plugin works perfectly both if the file robots.txt has never been created or
if it already exists. Once installed the plugin makes an optimized robots.txt file
that includes special rules common for WordPress websites. After that you can proceed
further customization specific for your own website if needed.

If the plugin detects one or several Sitemap XML files it will include them into
robots.txt file.

No FTP access, manual coding or file editing is required that makes managing settings
easy and convenient!

#### Key Features

 * Automatic generation of optimized robots.txt with WordPress-specific rules
 * Special rules for Google and Yandex search engines
 * Custom rules support for any search engine bot
 * Automatic sitemap detection and inclusion
 * WooCommerce compatibility with specific rules
 * Multisite support
 * Easy-to-use admin interface
 * Modern PHP architecture with namespaces for conflict-free operation

## 螢幕擷圖

[⌊The Settings Page.⌉⌊The Settings Page.⌉[

The Settings Page.

[⌊Error message if a non-virtual file robots.txt exists and the functionality to
fix it.⌉⌊Error message if a non-virtual file robots.txt exists and the functionality
to fix it.⌉[

Error message if a non-virtual file robots.txt exists and the functionality to fix
it.

[⌊The message when the problem is fixed.⌉⌊The message when the problem is fixed.⌉[

The message when the problem is fixed.

## 安裝方式

 1. Upload db-robotstxt folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. The plugin will automatically create a virtual robots.txt file
 4. Go to Settings > SEO Robots.txt to customize rules

## 常見問題集

### Will it conflict with any existing robots.txt file?

No, it will not. If the file robots.txt is found in the root folder it will not 
be overridden. On the Settings page you will see a notification with two options:
rename or delete the existing file robots.txt. The plugin provides this functionality
directly in the admin interface.

### Could I accidentally block all search robots?

Once the plugin is installed it will work fine for all search engine robots. If 
you are not aware of the rules for fine-tuning a robots.txt it is better to leave
the file as is or read first a corresponding manual to learn more about the directives
used for robots.txt.

Note: the following directives would block the corresponding search robot(s):

    ```
    Disallow:
    Disallow: /
    Disallow: *
    Disallow: /*
    Disallow: */
    ```

You should use any of these directives only if you do not want any page of your 
website to be accessible for crawling.

### Where can I read the up-to-date guide on robots.txt?

 * [Guide by Google](https://developers.google.com/search/docs/crawling-indexing/robots/robots_txt)
 * [Guide WordPress SEO](https://wordpress.org/documentation/article/search-engine-optimization/#robots-txt-optimization)

### What happens when I update to version 4.0?

**For regular users:** Nothing changes! The plugin will automatically migrate all
your settings. Everything continues to work exactly as before.

**For developers:** Version 4.0 introduces a complete code refactoring with modern
PHP classes and namespaces. If you have custom code that references this plugin’s
functions, constants, or options, please review the migration information below.

### Migration to v.4.0 – Information for Developers

If you have custom code that integrates with this plugin, please note these changes:

_Checking for deprecation notices:_ All deprecated elements will trigger `_doing_it_wrong()`
notices when `WP_DEBUG` is enabled. Enable debug mode to identify any issues:
 define(‘
WP_DEBUG’, true);

_Changed option names:_
 * `db_robots_custom`  `bisteinoff_plugin_robots_custom`*`
db_robots_custom_google`  `bisteinoff_plugin_robots_custom_google` * `db_robots_if_yandex``
bisteinoff_plugin_robots_enable_yandex` * `db_robots_custom_yandex`  `bisteinoff_plugin_robots_custom_yandex`*`
db_robots_custom_other`  `bisteinoff_plugin_robots_custom_other`

Note: Options are migrated automatically. Old option names are removed from the 
database after successful migration.

_Changed constants:_
 * `DB_PLUGIN_ROBOTSTXT_VERSION`  `BISTEINOFF_PLUGIN_ROBOTS_VERSION`*`
DB_PLUGIN_ROBOTSTXT_DIR`  `BISTEINOFF_PLUGIN_ROBOTS_DIR`

Note: Old constants remain defined for backward compatibility.

_Changed functions (now deprecated):_
 * `publish_robots_txt()`  Use `\Bisteinoff\
Plugin\RobotsTXT\Generator::generate()` instead * `db_robots_admin()`  Use `\Bisteinoff\
Plugin\RobotsTXT\Admin::add_menu_page()` instead * `db_robotstxt_admin_settings()`
Use `\Bisteinoff\Plugin\RobotsTXT\Admin::render_settings_page()` instead * `db_settings_link()`
Use `\Bisteinoff\Plugin\RobotsTXT\Loader::add_settings_link()` instead

Note: Deprecated functions continue to work with backward compatibility.

**Action required:**
 Update your custom code to use the new naming conventions.
All deprecated elements will be removed after Feb 16th 2027.

## 使用者評論

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

### 󠀁[Interesting concept, nicely implemented](https://wordpress.org/support/topic/interesting-concept-nicely-implemented/)󠁿

 [Martin Sauter](https://profiles.wordpress.org/martinsauter/) 2026 年 1 月 12 日

This plugin lets you manage your robots.txt through the WordPress backend and adds
some common configurations to improve your SEO. Very clean interface, easy to use.
What else can you ask for? BTW: After updating your robots.txt configuration you
may need to flush your server cache to see the changes.

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

### 󠀁[Very convenient!!!](https://wordpress.org/support/topic/very-convenient-84/)󠁿

 [t04e4ka](https://profiles.wordpress.org/t04e4ka/) 2023 年 9 月 17 日

As a SEO specialist, I can say that this plugin is indispensable in everyday work.
with it, I can quickly generate the desired file without unnecessary labor.it is
convenient that there are different blocks for entering information for different
search engines, since often different indexing rules may be relevant for different
search engines.

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

### 󠀁[Seems to be rather complete](https://wordpress.org/support/topic/seems-to-be-rather-complete/)󠁿

 [Valéry](https://profiles.wordpress.org/valgaldes/) 2023 年 9 月 16 日

easy to use, it generates a big file robots.txt for google that includes almost 
all possible issues for your website

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

### 󠀁[Nice!](https://wordpress.org/support/topic/nice-933/)󠁿

 [daskel](https://profiles.wordpress.org/daskel/) 2016 年 12 月 8 日

Very simple

 [ 閱讀全部 4 則使用者評論 ](https://wordpress.org/support/plugin/db-robotstxt/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Bisteinoff SEO Robots.txt〉的開發相關工作。

參與者

 *   [ Denis Bisteinov ](https://profiles.wordpress.org/bisteinoff/)

〈Bisteinoff SEO Robots.txt〉外掛目前已有 5 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/db-robotstxt/contributors)
為這個外掛做出的貢獻。

[將〈Bisteinoff SEO Robots.txt〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/db-robotstxt)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/db-robotstxt/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/db-robotstxt/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/db-robotstxt/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/db-robotstxt/)。

## 變更記錄

#### 4.0

 * **MAJOR UPDATE: Complete code refactoring with modern PHP architecture**
 * Compatible with WordPress 6.9
 * Compatible with WordPress Theme Bisteinoff 2.4+
 * Compatible with PHP 7.0 through PHP 8.4 (no deprecated PHP features used)
 * Feature: Modern PHP namespaces (`Bisteinoff\Plugin`) to prevent conflicts with
   other plugins
 * Feature: Seamless integration with Bisteinoff WordPress themes and plugins
 * Feature: Efficient class-based architecture with lazy loading
 * Feature: Automatic migration system for settings and options
 * Fix: Undefined variable warnings for `$db_renamed` and `$db_deleted`
 * **Backward Compatibility:** All old function names preserved until at least February
   16, 2027
 * **Backward Compatibility:** Old constant names (DB_PLUGIN_ROBOTSTXT_*) preserved
 * **Backward Compatibility:** Options automatically migrated from old to new names
 * **For Developers:** See FAQ section “Migration to v.4.0” for detailed technical
   information

#### 3.12

 * Compatible with WordPress 6.7
 * Rewritten the code with depricated and discouraged functions
 * Security issues

#### 3.11

 * Design of the Settings page in admin panel

#### 3.10

 * Custom rules for WooCommerce if the plugin is installed and activated
 * Fixing ampersand symbol

#### 3.9

 * Security issues

#### 3.8

 * Compatible with WordPress 6.5

#### 3.7

 * Security issues

#### 3.6

 * Compatible with WordPress 6.3
 * Security issues

#### 3.5

 * Compatible with multisites

#### 3.4.2

 * Corrected errors in the functions for translation of the plugin

#### 3.4.1

 * Now the translations are automatically downloaded from https://translate.wordpress.
   org/projects/wp-plugins/db-robotstxt/ If there is not a translation into your
   language, please, don’t hesitate to contribute!

#### 3.4

 * Compatible with GlotPress

#### 3.3

 * New options to rename or delete the existing robots.txt file

#### 3.2

 * New option to disable the rules for Yandex
 * Design of the Settings page in admin panel

#### 3.1

 * New basic regular rules for Googlebot and Yandex
 * Now more possibilities to manage your robots.txt: you can add custom rules for
   Googlebot, Yandex and other User-agents
 * More information about your robots.txt on the settings page

#### 3.0

 * Added a settings page in admin panel for custom rules

#### 2.3

 * Tested with WordPress 6.2.
 * The code is optimized
 * Added the robots directives for new types of images WebP, Avif

#### 2.2

 * Fixed Sitemap option

#### 2.1

 * Tested with WordPress 5.5.
 * Added wp-sitemap.xml

#### 2.0

 * Tested with WordPress 5.0.
 * The old Host directive is removed, as no longer supported by Yandex.
 * The robots directives are improved and updated.
 * Added the robots directives, preventing indexind duplicate links with UTM, Openstat,
   From, GCLID, YCLID, YMCLID links

#### 1.0

 * Initial release.

## 中繼資料

 *  版本 **4.0.3**
 *  最後更新 **9 個月前**
 *  啟用安裝數 **400+**
 *  WordPress 版本需求 ** 4.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.7**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [Dutch](https://nl.wordpress.org/plugins/db-robotstxt/)、[English (US)](https://wordpress.org/plugins/db-robotstxt/)、
   [French (France)](https://fr.wordpress.org/plugins/db-robotstxt/)、[German](https://de.wordpress.org/plugins/db-robotstxt/)、
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/db-robotstxt/)、及
   [Russian](https://ru.wordpress.org/plugins/db-robotstxt/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/db-robotstxt)
 * 標籤:
 * [crawler](https://tw.wordpress.org/plugins/tags/crawler/)[google](https://tw.wordpress.org/plugins/tags/google/)
   [robots](https://tw.wordpress.org/plugins/tags/robots/)[robots.txt](https://tw.wordpress.org/plugins/tags/robots-txt/)
   [seo](https://tw.wordpress.org/plugins/tags/seo/)
 *  [進階檢視](https://tw.wordpress.org/plugins/db-robotstxt/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/db-robotstxt/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/db-robotstxt/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/db-robotstxt/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/db-robotstxt/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/db-robotstxt/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/db-robotstxt/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/db-robotstxt/reviews/)

## 參與者

 *   [ Denis Bisteinov ](https://profiles.wordpress.org/bisteinoff/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/db-robotstxt/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://bisteinoff.com)