Welcome to WebmasterWorld Guest from 23.22.46.195

Affiliates Link Into Re-Direct

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



Hi

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

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

5+ Year Member



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)



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:
http://www.domain.com/go.php?id=2


Within "go.php", place the following:

<?php
$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.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month