Welcome to WebmasterWorld Guest from

Message Too Old, No Replies

Affiliates Link Into Re-Direct

6:25 am on Aug 24, 2011 (gmt 0)

New User

joined:Aug 22, 2011
posts: 4
votes: 0


I want to make my all Affiliates links into redirect link because i heared somewhere that having dofollow affiliates link on your website/blog will harms your ranking in SERP.
So please help me out from this issue that how to convert affiliates links into a Redirect link in BLOGGER/ BLOGSPOT

12:29 pm on Aug 24, 2011 (gmt 0)

Preferred Member

10+ Year Member

joined:July 13, 2005
posts: 418
votes: 0

I like to think that, these days, Google knows what is and what isn't an affiliate link by using the data they collect from Google search-bar and Chrome. I don't think a redirect will make any difference.

Opinion seems to be split about how to best deal with affiliate links. I think it'd be better to just nofollow them.

<a href="affiliatelink.php" rel="nofollow">blue widgets</a>
2:45 pm on Aug 24, 2011 (gmt 0)

New User

joined:June 24, 2011
votes: 0

Make a PHP file called "go.php", this will be our redirector.

You'll then call "go.php" in this way in future, the ID will depend on which link you wish to head out on:

Within "go.php", place the following:

$id = $_GET['id']

if ($id = 1) {
header('Location: http://www.some-link.com/');
} else {
if ($id = 2) {
header('Location: http://www.some-other-link.com/');

Just add/remove links are required, plus it keeps everything all SEO friendly.