這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Block Feed and Comments via robots.txt

外掛說明

This plugin adds lines to the virtual robots.txt file that WordPress creates automagically if the file is not present physically on the server to block resources related to feeds and comments from being indexed by search engines.

Please be aware of what this plugin does exactly: If you activate the plugin it will add some lines to the robots.txt file to tell search engine bots to not to crawl and index parts of this website.

This plugin blocks all resources related to feeds and comments from being indexed by search engines.

Please only activate this plugin if you know what you’re doing.

What can I do with this plugin?

This plugin adds the necessary lines to the virtual robots.txt file that WordPress creates automagically to block to block Feeds and Comments resources.

What ideas is this plugin based on?

None. We needed a fast solution to add these lines to the robots.txt file and this was the solution we coded.

What is the robots.txt file?

The robots.txt file is a plain text file located at the root folder of a domain (or subdomain) which tells web crawlers (like Googlebot) what parts of the website they should access and index.

The first thing a search engine crawler looks at when it is visiting a page is the robots.txt file and it controls how search engine spiders see and interact with the web pages.

System requirements

PHP version 7.1 or greater.
We require 7.1 or higher because we believe that everybody should be running a modern PHP version. When releasing this plugin WordPress recommends PHP 7.4 or higher.

How to get this plugin in your Language!

This first release is avaliable in English and Spanish. In the “languages” folder we have included the necessary files to translate this plugin.

If you would like the plugin in your language and you’re good at translating, please use the native WordPress Translation functionality.

New to Translating a plugin? First read through the Translator Handbook, then select your locale at Translating WordPress and finally search for this plugin to translate it.

Further Reading

You can access the description of the plugin in Spanish at: Block Feed and Comments via robots.txt en español.

Contact

For further information please send us an email.

螢幕擷圖

  • Lines that the plugin adds to the virtual robots.txt file that WordPress creates.

安裝方式

  1. First you will have to upload the plugin to the /wp-content/plugins/ folder.
  2. Then activate the plugin in the plugin panel. There are no settings.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Block Feed and Comments via robots.txt〉的開發相關工作。

參與者

變更記錄

1.2.0 (04/04/2023)

  • Added Data Sanitization/Escaping according to WordPress Developer Guidelines

1.1.0 (02/09/2020)

  • Updated translation text domain to match plugin slug (“Since WordPress 4.6 the Text Domain header is optional because it must be the same as the plugin slug” – More info at Text Domains).

1.0.0 (25/08/2020)

  • First official release.