Help

For beginners, flames not allowed...(just by the staff :P)
Post Reply
User avatar
Kitchisaki
Newbie
Newbie
Posts: 8
Joined: 30 Jul 2010, 23:42
13
Location: Just above the earth's atmosphere

Help

Post by Kitchisaki »

Hello there every one .Is it possible to restrict bots from visiting and viewing a website example Googlebot,Yahooslurp,Msn and others.If so please inform me,any help would be greatly appreciated.
Th3 only wh1t3 cat that has black str1p3s

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Help

Post by bad_brain »

sure, usually you do this via the robots.txt file stored in the website root:
http://www.robotstxt.org/robotstxt.html" onclick="window.open(this.href);return false;

the well-known crawlers like google, yahoo (slurp), msn follow what you have set in robots.txt, but there are rogue crawlers that ignore it, you can block these via .htaccess file (also in the website root) by the IP, like:

Code: Select all

Order deny,allow
Deny from 192.168.0.1
Deny from 192.168.0.3
:wink:
Image

User avatar
Kitchisaki
Newbie
Newbie
Posts: 8
Joined: 30 Jul 2010, 23:42
13
Location: Just above the earth's atmosphere

Re: Help

Post by Kitchisaki »

Thanks,just what i was looking for.
Th3 only wh1t3 cat that has black str1p3s

User avatar
l0ngb1t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 598
Joined: 15 Apr 2009, 16:00
15
Contact:

Re: Help

Post by l0ngb1t »

wow this useful
i need it... thank you and great link B_B
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"

Post Reply