The issue was resolved by using the following filter: /0107 { /type "allow" /extension '(txt)' /path "/content/*" } and the following redirection in rewrite.rules: # Rewrite to robots.txt
RewriteCond %{REQUEST_URI} /robots\.txt$
RewriteRule ^/(.*)$ /content/dam/robots/mysite/en_gb/robots.txt [PT,NC]...