IP redirect ?
Hey
Don't know if this is the right place to ask this, but I have an important question. How to redirect someone's IP to another site ? I know that I can ban someone with .htaccess -file, but would like to use one on the entering page in HTML. Is there a way to do it ? :321GFY |
Good question, you can do it with the .htaccess file for sure, unfortunately I'm not sure how. :(
You should know that he can use a proxy or a dynamic IP or even a site like hidemyass(dot)com to avoid detection. |
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. |
All times are GMT -7. The time now is 02:15 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc