Forum Moderators: coopster
I have a question about PHP redirects. Can someone verify if my use of the scripts below are proper for what I am doing with them?
I am using the first script to cloak affiliate links on my site. The second script I am using for redirection of a page I have moved from one of my domains to another of my domains.
I am worried about the first script. Are there any negatives with respect to Google for using this script? Should I include a no follow tag in front of the cloaked link on my page?
Any advice or comments about this process will be appreciated.
<?php header( "Location: http://www.example.com " );?>
<?
header("HTTP/1.1 301 Moved Permanently");
header("location: http://www.example.com");
exit();
?>
Thank you,
Steve Weber
[edited by: dreamcatcher at 4:50 pm (utc) on April 8, 2007]
[edit reason] Use example.com, thanks. [/edit]