Can anyone tell me how do i restrict public domains. Is there any script? I would just like to allow a few domains but don't have any predefined list of domains.
yes please explain... i am not sure what you mean... if i am understanding you correctly i think you can use .htaccess to do this... if i dont understand you... please explain more
Well, the thing is that i would like to restrict most of the public domains. eg: yahoo, gmail, hotmail etc not allowed. Only corporate domains to be allowed.
You gotta go into your .htaccess and your robots.txt. robots.txt to restrict SE's. e.g. Deny * will stop robots from visiting your site. htaccess to stop i.p addresses
What is it exactly that you want to stop? Is it people coming from those domains you want to stop from seeing your site? Or is it bots coming from those domains you want to stop from seeing your site? If it is the first one, you need to look at the users referrers and block them if the user comes from one of those domains. If its the other one, you can do it with .htaccess and robots.txt as Zacha said.