in my htaccess file i have folllowing
<Files ~ "\.(tpl|txt)$">
Order deny,allow
Deny from all
SetEnvIfNoCase User-Agent "Googlebot" goodbot
Allow from env=goodbot
</Files>
I want block all to access tpl and txt files but permit to google bot crawler to access to robots.txt
this configuration working in a server but in an other don't working
any alternative?