Buy Sell Discuss UK Domain Names at AcornDomains.co.uk

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 01:51:45 PM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Website Design and Promotion > Website Design
Connect with Facebook

Website Design Discuss web design

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 20-12-2011, 02:43:43 PM     #1 (permalink)

 
Join Date: Oct 2010
Location: Sussex
Posts: 203
Sussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond repute

Blocking Baidu

Has anyone found an effective way of blocking the Baidu spider.

It ignores robots.txt by all accounts and seems to be ignoring my attempts to block it using .htaccess

Perhaps I'm coding .htaccess wrong.

I've used

order allow,deny
deny from baidu.com
deny from crawl.baidu.com
deny from 220.181.7.
deny from 123.125.66.
deny from 180.76.5.
deny from 93.158.
allow from all

Any help gratefully received
Sussexite is offline  
Old 20-12-2011, 03:52:17 PM     #2 (permalink)
Administrator
 
admin's Avatar
 
Join Date: Jun 2004
Posts: 8,601
admin has disabled reputation

From what I know, Baidu uses 119.63.192.0 - 119.63.199.255.

It's better not to block anything but spammers by IP, so try this instead:

RewriteCond %{HTTP_USER_AGENT} Baiduspider
RewriteRule ^.*$ http://127.0.0.1 [R,L]

Admin
admin is offline  
Old 20-12-2011, 04:19:27 PM     #3 (permalink)

 
Join Date: Oct 2010
Location: Sussex
Posts: 203
Sussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond repute

Thanks Admin

I tried that yesterday, but to no avail.

Does it matter where in the .htaccess file this code is placed eg before or after the Begin Wordpress code etc?

Sussexite
Sussexite is offline  
Old 20-12-2011, 05:23:40 PM     #4 (permalink)

 
fish's Avatar
 
Join Date: Nov 2006
Posts: 2,316
fish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond reputefish has a reputation beyond repute

I use this site to generate code to block either by IP or site.

Seems to work for me, I'm building a lovely black list of websites/ips that I add to all of mine via htaccess
fish is offline  
Old 20-12-2011, 05:49:43 PM     #5 (permalink)

 
Join Date: Oct 2010
Location: Sussex
Posts: 203
Sussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond reputeSussexite has a reputation beyond repute

Very neat Fish, thanks
Sussexite is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Chinese search engine Baidu sues US company over hacking attack - Telegraph.co.uk RSS Domain Name News 0 22-01-2010 09:59:12 AM
Baidu Blames Domain Registrar for Security Breach Register.com sued over ... - Softpe RSS Domain Name News 0 21-01-2010 10:59:03 AM
Baidu hacked by 'Iranian cyber army' - BBC News RSS Domain Name News 0 12-01-2010 11:59:01 AM
Euro Baidu to auction name on eBay - Baltimore Sun RSS Domain Name News 0 09-12-2009 05:59:17 PM
Baidu is beginning its international expansion with the purchase ... - PR-Inside.com RSS Domain Name News 0 26-09-2009 09:59:02 AM


All times are GMT. The time now is 01:51:45 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".