How To Redirect Affiliate Links

[bhtweetthis]

Everytime we make a post on our websites we generally have a link to some othersite, usually an affiliate link.

Just this morning, I was updating and old ebook of mine on how people can buy high page rank domains for just $5, and I wanted to redirect them through my affiliate link.

The affiliate link is the usual CJ (commission junction) links, in other words is long and contains lots of numbers and dashes.

So I wanted to put a link that went directly to the other site.

So, lets say we want to make a redirect on this site to Godaddy, using my affiliate link.

So if sometime types in http://websitesecrets101.com/godaddy they get sent to godaddy.com with my affiliate code in place.

So , how do we do it.

[like-lock]Its easy to do, all you have to do is open up your websites .htaccess file (please note this approach does not work on Windows servers), with your favourite text editor. Notepad works just fine!

Mine looks like this :

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Its the standard WordPress .htaccess file.

No I want to make a redirect that goes directly to the affiliate site. Lets say, for this example, I want to redirect them to Goddady. It may not be your most favorite registar but lets just se it for this example.

So using the above .htaccess file, I'll edit so that it now include the line

Redirect 301 /godaddy http://www.tkqlhce.com/click-3340454-10419685

The 301 part, means that its a permant redirect, you can use 301 or 302 here.

The /godaddy bit  is the path used on this website.

The http://www.tkqlhce.com/click-3340454-10419685 is the affiliate link I will send them to.

So now the full .htaccess file is :

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
Redirect 301 /godaddy http://www.tkqlhce.com/click-3340454-10419685
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

See how I put it just after the "RewriteBase /" line? That means it will redirect without effecting your wordpress install.

[/like-lock]

So its pretty easy to make redirects by simply modifing your .htaccess file.

[bhtweetthis]

Any other formal situation, you need to remember the distinctions between subject college papers writing services and object p!