![]() |
How do you do this with .htaccess?
Let's say I am receiving traffic from a URL with various ID #'s attached to it:
http://www.referrer.com/?id=101 Andthe traffic is going to: http://www.site.com How do I have the .htaccess grab the ID from the referrer and do a quick redirect or something so that it will send the visitor to this instead: http://www.site.com/?ref_id=101 |
how about a little bit of php, that would be easy and more controllable for v
|
Quote:
|
you are probably doing something wrong, it shouldn't take long time to load at all when done in php....
|
|
Quote:
|
Quote:
|
Quote:
|
wrong thread .. edit.
|
Quote:
I did manage to get what I need all in 1 with the following: RewriteRule ^string/?_(.*)$ http://www.site.com?id=$1 [QSA] So site.com/string_101 will now goto site.com/?id=101, didn't know I could dynamically add zone ID's in Juicy :) |
Quote:
Code:
RewriteEngine on |
tested it on a site, works fine
|
i use this .htaccess to secure my sites :)
|
All times are GMT -7. The time now is 07:40 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc