--- permalink: .htaccess eleventyExcludeFromCollections: true eleventyAllowMissingExtension: true --- ErrorDocument 404 /404.html Header set Cache-Control "max-age=31536000, public" Header set Cache-Control "no-cache, public" RewriteEngine on # Block bad bots {% for bot in robots.htaccess -%} RewriteCond %{HTTP_USER_AGENT} ({{ bot }}) [NC{% if not loop.last %},OR{% endif %}] {% endfor -%} RewriteRule .* https://nocommercialuse.org/ [L]