![]() |
.htaccess question
I need to redirect some traffic to another page based on IP/domain. Let's say for example that I want to take all traffic from aol.com or 111.222.333.444 to http://mydomain.com/aol.html. Can this be done with .htaccess or is there a better/easier way?
|
try here: www.htaccesstools.com
|
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.aol.com/ RewriteRule /* http://mydomain.com/aol.html/ [R,L] |
|
Will this work if both pages are on the same domain? Can I replace the "http://www.aol.com" with an IP address?
Quote:
|
All times are GMT -7. The time now is 09:31 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123