I have two addresses for two servers:www.urlA.comwww.urlB.comI have all my websites installed in www.urlB.com, but visitors recognize www.urlA.com primarily.I have www.urlA.com/index.php as the following<?phpheader('Location: http://www.urlB.com/');?>But, when I use this forwarding method, the tracking javascript in www.urlB.com cannot recognize where the visitors are from. I only obtain NO REFERRING LINKWhat should I do to do the following two jobs:1. to forward urlA.com to urlB.com2. to receive the referrer information
can I forward referrer information to other address?
php;referrer
Try using a 301 redirect:<?phpheader('Location: http://www.urlB.com/', true, 301);?>