![]() |
Disallow robots - .htaccess & robots.txt
helo...
as we know we can control bots/spider using robots.txt we know to disallow bot we use we use: Quote:
Quote:
and using .htaccess we are currently using to disaalow badbot Quote:
-- in other palce i read Quote:
we are really confused...any one can give us some tips...what is what ? and is perfect? which .htaccess is good to disallow badbots? |
helo..
any one can tell me... about it.. i also want to BAN some bots too... |
There is more than one way to do this. I use
Code:
SetEnvIfNoCase User-Agent "libwww-perl/" bad_bot |
GOOD TO KNOW..
Also can u tell...how many bot i can ban/disallow using .htaccess ? any limitations ? or as much as i want.. |
Can't you just use..
Code:
User-agent: * |
Yes but then you would end up blocking yahoo and google etc, NOT a very good idea!
btw, zia, afaik there are no restrictions in htaccess |
Quote:
|
As much as you want but banning from .htaccess = increase on server loads, try adding this values to your httpd.conf on apache webserver.
Interesting discussion here. |
1 Attachment(s)
Quote:
here im attaching my portion..yet not i implemeted it.. planning to do... All the way i want to disallow bad-bots.. any one around here to have a look on it..? Any comments about the bots ? httpd.conf --hmm i gez i have to contact with service provider tho on a vps |
All times are GMT. The time now is 02:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|