I want to block in the htaccess URL file (https://www.example.com/files/example/index.html) for Google robots. Searching through the search engine I found something like:
RewriteEngine on RewriteCond% {HTTP_USER_AGENT} Googlebot [OR] RewriteRule ^. * $ "Http \: \ / \ / yordomain \ .com" [R = 301, L]
This file is for the domain, and I want to block a specific URL, how can I save it?