How to preserve referrer url when redirecting with php to affiliate site
Gfy techs help! :helpme
I made a page with simple redirection, something similar to: Code:
header("HTTP/1.1 301 Moved Permanently"); |
I'd love to see the answer too. Here's a bump for you, my man.
|
Hmm that should do the job, could be simply how program stats are broken or they have multiple redirects which deletes original refferer so you cant do shit with it. Ask sponsor for tracking id, where you would put your refferer url.
|
Nah, that's not the sponsor thing I think, at least not a single case, I could be wrong though. I tested on a few. I think it's just the way php and web browsers work, same with javascript, it would not pass the referrer. But server redirection on the other hand like in htaccess would. I believe though there must be some way to trick browsers with php to pass it. Reading stackexchange at the moment, but the more I read the more mess is in my head and it's already suffering tonight from a headache. :Hollering So I have thought, that perhaps someone here done it before and will save me a bit of time and struggle.
|
Code:
<?php |
Quote:
Code:
<meta http-equiv="refresh" content="0; url=page_to_go_too"> Code:
<html> |
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
Is there a problem with my solution? Or am I mis-interpreting something? Proof of concept: http://www.hatterasdesigns.com/testr...test_redir.php Code:
<html> The madspiders.com page simply echoes the referer Code:
<?php |
you are supposed to do the opposite (hide the referer), so the sponsor doesn't steal your traffic sources/methods/etc... :error
|
Quote:
|
Quote:
|
Quote:
|
Quote:
. |
Quote:
|
All times are GMT -7. The time now is 03:12 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc