Web Hosting Talk







View Full Version : How to redirect a certain IP range using htaccess?


UkWebsiteFan
11-07-2004, 07:56 PM
Hello people

I would like to redirect a particular IP range to another website. So for example

I get visitors from the ip range 555.555.555.001 to 555.555.555.555

in short 555.555.555.*

I'd like to redirect these users to another website say google

any help will be appreciated

regards

apollo
11-08-2004, 12:56 PM
there you go...

http://www.webmasterworld.com/forum40/357.htm

Zadmin
11-08-2004, 03:29 PM
use mod_rewrite
http://httpd.apache.org/docs/mod/mod_rewrite.html