Thread: IP redirect ?
View Single Post
Old 03-12-2009, 09:06 AM  
AIbenjamink
Confirmed User
 
AIbenjamink's Avatar
 
Industry Role:
Join Date: Jan 2009
Posts: 420
Something along these lines should work:

RewriteCond %{REMOTE_ADDR} ^123\.123\.123\.123
RewriteRule ^index\.html$ specialpage.html [R=301,L]

In this example, anyone with the IP address 123.123.123.123 requesting your index.html page would be redirected to specialpage.html. Hope this helps, you will be able to find quite a few examples through google if you are looking for something more specific.
__________________
Benjamin : [email protected] : 405-243-447 : www.AdultInterface.com

AIbenjamink is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook