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

Multipart robots.txt 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.

安裝

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.

評價

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?????????
閱讀全部3個評價

貢獻者及開發者

“Multipart robots.txt editor” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Multipart robots.txt editor 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Multipart robots.txt editor 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.4.0

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

0.3.0

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