I need to allow only direct traffic to access any page of my server(including homepage). Does this code this from above. As i understand - this block all Referers that aren't direct.And also block all Referers that doesn't come from domain.com. ******************************************************* RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://domain.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC] RewriteRule .* - [F,NC,L] ******************************************************* I am right? If not is there any other way to do this. Thanks