As described in #282, robots.txt produces invalid output. I don't need that change to robots.txt at all, because I deny direct access to cached files via .htaccess:
# Deny direct access to cache folder, but allow internal redirect
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^wp-content/cache/cachify/ - [F]
Expected behavior
I want to click a checkbox in the settings ui to disable automatic changes to robots.txt. When disabled, the hook do_robots is skipped.
As described in #282,
robots.txt
produces invalid output. I don't need that change to robots.txt at all, because I deny direct access to cached files via.htaccess
:Expected behavior
I want to click a checkbox in the settings ui to disable automatic changes to
robots.txt
. When disabled, the hookdo_robots
is skipped.System: