Does anybody know of a method of redirecting visitors by IP address? I'd like to do this in the htaccess file preferrably, but I'd be thankful for any methods y'all know of or use.
Does anybody know of a method of redirecting visitors by IP address? I'd like to do this in the htaccess file preferrably, but I'd be thankful for any methods y'all know of or use.
you can easily redirect by IP address in an .htaccess file. you can use something like this:
i haven't tested the code above, so i'm not 100% sure if it works or not, but you can tweak with it.Code:RewriteEngine on RewriteCond %{REMOTE_ADDR} ^192\.168\.1\.1$ RewriteRule ^.*$ http://www.domain.com/ [R,L]
there is a lot of suff in googe ..
Check out our password protection system called Phantom Frog which does
Geo-IP Tracking to perform abuse detection. Not quite sure if this
is what you meant, but it is IP-based.
http://www.PhantomFrog.com/g
Thanks
George
Bookmarks