# Block GPTBot without using LocationMatch+RewriteEngine.
# A LocationMatch "^/" rewrite container disabled WordPress .htaccess permalinks.
<Directory "/home">
<If "%{HTTP_USER_AGENT} =~ /GPTBot/i">
Require all denied
</If>
</Directory>