New Posts
SpotlightPoker.com Affiliate Program
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 05:32 AM by addaminsane
Updated 02-06-2010 at 02: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 6985 Comments 6 Edit Tags Email Blog Entry
« Prev     Main     Next »
Total Comments 6

Comments

  1. Old Comment
    pheal's Avatar
    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 01:35 PM by pheal pheal is offline
  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 04:42 AM by addaminsane addaminsane is offline
  3. Old Comment
    mmm interesting
    permalink
    Posted 02-01-2010 at 09:50 AM by striker striker is offline
  4. Old Comment
    Thats a great post!
    Will do it too !
    permalink
    Posted 04-01-2010 at 09:46 AM by casinokomplett casinokomplett is offline
  5. Old Comment
    addaminsane's Avatar
    You're welcome, lemme know if you have any questions or if i'm leaving out any useful details
    permalink
    Posted 04-05-2010 at 02:03 PM by addaminsane addaminsane is offline
  6. Old Comment
    Hi,
    I have been using your php redirect for a while now, it is a great way of reducing the workload when a link needs updating. Is there a similar way to create php files to contain bonus codes so that you can have a titancode.php, partycode.php etc file? And what do I need to enter in the articles to have the bonus code show there?
    permalink
    Posted 08-07-2010 at 08:43 AM by Catfish Catfish is offline
 
Total Trackbacks 0

Trackbacks

Invest In Silver American Eagles Now
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 12:22 AM.


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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88