How To: Change or Hide The Default Affiliate Url

Learning through PHP is never that easy. Here’s what I discovered of how to hide away or change your default affiliate or referral URL and hope this might help.

  1. Create a new notepad file and rename the file with an extension of .php
  2. eg. affiliate.php

  3. Open up the file, put in the code as following and replace the colored text with your own affiliate URL
  4. <?php header(”location:
    
    http://www.affiliate-domain.com/?ref=xxxx″); ?>
  5. Upload to your server or perhaps create another new folder for all your affiliate links of .php file for better organized
  6. Link the affiliate URL with the file you created.
    eg. http://www.yourdomain.com/register/affiliate.php

My example here: Get paid with PayPal.

Popularity: 3% [?]

Related Posts:-

Leave a Reply

Designed by Posicionamiento Web | Sponsored by Ganar dinero

Sitemap