1

.htaccess - how to avoid a subdomain to be seen on google or similar?

view story
linux-howto

http://serverfault.com – I have the following htaccess file for your consideration: Options +FollowSymlinks #+FollowSymLinks must be enabled for any rules to work, this is a security #requirement of the rewrite engine. Normally it's enabled in the root and we #shouldn't have to add it, but it doesn't hurt to do so. RewriteEngine on #Apache scans all incoming URL requests, checks for matches in our #.htaccess file #and rewrites those matching URLs to whatever we specify. #allow blank referrers. RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?site.com [NC] RewriteCond %{HTTP_REFERER} (HowTos)