jusupov.com

Computer Technology Blog

How to make branded affiliate links?

without comments

People like John Chow already knows this and use it. It is cool to have your own branded affiliate links, isn’t it? So if you are inviting people to sign up for Agloco, you will give http://www.agloco.com/r/BBBW4103 link but imaging you can set this link as http://www.jusupov.com/go/agloco !

It’s very difficult to memorize http://www.agloco.com/r/BBBW4103 link, and it’s considerably easier to remember http://www.jusupov.com/go/agloco link.

So whow it is done? I will try to explain how this trick is done. You can use some scripting like php/javascript to do this, however the shorter way of doing this is via .htaccess file. You can find your .htaccess file in your web root directory. You can download and open it in your favorite text editing software and add your links.

If you are using Wordpress and had turned on search engine friendly permanent links, here’s how a sample .htaccess file looks like:

# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>

# END WordPress

Remember to backup your existing .htaccess file before you try to make changes in it, also remember not to touch the code between #BEGIN Wordpress and #END Wordpress comments. So right after #END Wordpress line add following:

Redirect myblog.com/?id=874653874 http://www.myblog.com/go/youraffiliate

So just follow this example and create your own customized affiliate and referal links! Put one affiliate/referal per line.

Check with your affiliate/referal company to see if it is allowed in the agreement. You can find my branded referal links at the very bottom of this page, footer that is.

Written by Arstan

May 16th, 2007 at 1:53 am

Posted in Open Source, internet

Leave a Reply

You must be logged in to post a comment.