Forum Moderators: skibum
I would like to create "custom" links for my affiliate links to hide the long URL's.
If use this type of URL for an affiliate link:
www.mysite.com/links/link1.php
and then use this code in the header of link1.php to redirect:
<?
header("Location: http://www.example.com/?affid=1234");
?>
Will I be creating any problems for myself? Is there anything I am missing?
Should I put "no follow" on the link and or "no index" on the .php page?
Thank you,
Esteban
[edited by: encyclo at 1:42 pm (utc) on Dec. 23, 2006]
[edit reason] switched to example.com [/edit]
You should make it a 301 redirect so that if search engines index your www.mysite.com/links/link1.php page then they know the page has moved permanently. You won't need a noindex or nofollow then
[edited by: encyclo at 1:43 pm (utc) on Dec. 23, 2006]
[edit reason] switched to example.com [/edit]