WP_FAIL2BAN_EX_HONEYPOT_ROBOTSTXT

Enable honeypot for robots.txt.

Default setting: disabled

Premium flavour only


When WP_FAIL2BAN_EX_HONEYPOT is also enabled, adds one Disallow line per configured trap path to WordPress’s virtual robots.txt output. WordPress publishes those lines only when the site is public. The request matcher remains active on a non-public site even though the bait lines are absent.

Example: Enable honeypot for robots.txt
define('WP_FAIL2BAN_EX_HONEYPOT_ROBOTSTXT', true);

History

Added in version 6.0.0.