Hi, I want to block in the htaccess url file (https://www.example.com/files/example/index.php) 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?
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?