Quote:
Originally Posted by Cyber Fucker
Gfy techs help!
I made a page with simple redirection, something similar to:
Code:
header("HTTP/1.1 301 Moved Permanently");
header("Location: $_SERVER['QUERY_STRING']", true, 301);
exit;
It works as intended, but I can't see the referring url in affiliate programs stats.
|
Easiest way I know is to do a HTML Meta refresh. The referer gets passed that way.
Code:
<meta http-equiv="refresh" content="0; url=page_to_go_too">
So, if you are doing it via php, something like this:
Code:
<html>
<head>
<meta http-equiv="refresh" content="0; url=<?php echo $_SERVER['QUERY_STRING']; ?>">
</head>
<body>
</body>
</html>