New Posts
Gambling Affiliates Union

Go Back   The Forums At Poker Affiliate Listings > Blogs > addaminsane

Rate this Entry

Affiliate Links -- Create And Implement A PHP Redirect.

Submit "Affiliate Links -- Create And Implement A PHP Redirect." to StumbleUpon Submit "Affiliate Links -- Create And Implement A PHP Redirect." to Digg Submit "Affiliate Links -- Create And Implement A PHP Redirect." to Facebook Submit "Affiliate Links -- Create And Implement A PHP Redirect." to Google Submit "Affiliate Links -- Create And Implement A PHP Redirect." to del.icio.us
Posted 01-14-2010 at 06:32 AM by addaminsane
Updated 02-06-2010 at 03:41 PM by addaminsane

Implementation of a php redirect will allow you to more easily manage your website's affiliate links. All of your outbound links to a particular room will direct to one url. Therefore, you can change all of the affiliate links...for one room...at any given time via one file.

4 Easy Steps I use to Create the PHP redirect file

1. I create a new folder in my websites root directory, i typically like to call mine "go". The name of the folder is not important unless there are language issues with a wordpress plugin your using in which case you'll need to use more than 2 letters to name the folder. You can call it "visit" or "room" or "out" or whatever you like.

2. I navigate to my websites robots.txt file and enter this line:

Code:
Disallow: /go
*Disallowing my /go folder will prevent my redirect files to be crawled and safeguard me from boosting the search engine visibility of whatever revenue source i'm linking to. This is important because affiliate sites will often link to programs 5 or 6 times on any given page for conversion power.

3. I navigate back to the /go folder, create a php file, and name it for my particular room. In this case i will create a file for PokerStars and name it pokerstars.php.

4. I open the pokerstars.php file and enter this code with my affiliate url.

Code:
<?php
header('Location: http://www.pokerstars.com/?source=1234567');
?>
...Now that i have my pokerstars.php file created, every time i link to pokerstars from my website i will link this url:

Code:
http://www.onlinepokered.com/go/pokerstars.php
...the html code i typically like to use is:

Code:
<a href="go/pokerstars.php" target="_blank" rel="nofollow">Pokerstars</a>
*this exact setup is implemented and can be observed on Online Poker ED and CasinoReviews.com

This method will also completely insure that you are not giving search engine power to the online poker room, rake provider, training community, or other revenue source which you are linking to. After all, why would you want to contribute to your revenue source ranking better?

Views 845 Comments 3 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 3

Comments

  1. Old Comment
    Thanks a lot for this blog post, it's extremely useful. I've been lazy about making the necessary changes to my sites for a long time and your post just gave me the motivation to do it. Today!
    permalink
    Posted 01-17-2010 at 02:35 PM by pheal pheal is online now
  2. Old Comment
    addaminsane's Avatar
    You're welcome. I hope this post provides a worthwhile resource...and will become more widely implemented based on the notion that the disallowed redirect method:

    1. Makes it easier to manage affiliate links.
    2. Safeguards the webmaster from inadvertently boosting the search engine power of his or her revenue sources.
    permalink
    Posted 01-25-2010 at 05:42 AM by addaminsane addaminsane is online now
  3. Old Comment
    mmm interesting
    permalink
    Posted 02-01-2010 at 10:50 AM by striker striker is offline
 
Total Trackbacks 0

Trackbacks

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0

Poker Affiliate Programs & Discussion For Poker Affiliates

All times are GMT -5. The time now is 05:05 PM.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59