Forum Moderators: coopster

Message Too Old, No Replies

Changing referal page before the user is redirected

         

ntbgl

10:48 pm on Apr 6, 2009 (gmt 0)

10+ Year Member



I have all outbound links on my site funneled to a php script where traffic is monitored before the user is redirected seamlessly to their selected destination.

It is very important for my site that all outbound traffic gets funneled through this script.

My only concern is for all the sites I send traffic to, this one script is going to get all the credit and not the initial page.

With php, is there anything I can do to somehow alter what my referring url is before I send out the header to redirect?

(I know with javascript I can do monitoring other ways without affecting the resulting destination, but again, I need all the traffic to go through this page. That's more important to me than proper credit, but if I can, I would like to fix the referral credit.)

eeek

12:55 am on Apr 7, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



With php, is there anything I can do to somehow alter what my referring url is before I send out the header to redirect?

Since that header is sent by the browser I don't think you can do anything to change it.

barns101

12:39 pm on Apr 7, 2009 (gmt 0)

10+ Year Member



I've been looking at something similar but I've not found any way to accomplish it, either.

ntbgl

12:10 am on Apr 8, 2009 (gmt 0)

10+ Year Member



Thank you both for your replies.

Its too bad, but I won't be sleeping over it tonight. I know what my priorities are.

I'll probably just send the index file to a short message saying files are only processed here, and that you may want to look over here for where the links came from.

Thanks again.