Save $20 on your template using coupon: whmcsmarketplace during checkout

If you have any issues installing this module, we will be happy to provide assistance for free.

Guide

  • 1) Unzip the folder
  • 2) Setup your custom landing pages
  • 3) Upload files
  • 4) Provide the URLs to your affiliates

1) Unzip the folder

WHMCS affiliates land anywhere package
A screenshot showing the contents of the affiliates land anywhere module unziped.

Unzip your module file (WHMCS module - Affiliates land anywhere.zip) and move the folder named "WHMCS module - Affiliates land anywhere" to your desktop.

2) Setup your custom landing pages

Open the following file using a code/text editor (NotePad++ on Windows, TextEdit on Mac):

Desktop/WHMCS module - Affiliates land anywhere/upload/aff-urls.php

In this file you can define all of your custom landing pages, you can add an unlimited number of landing pages both inside or outside of WHMCS. When a affiliate clicks on your link it'll redirect them to the WHMCS aff.php file as normal to record the visit/set the affiliate cookie and then redirect to the landing page set in the URL.

First set your default URL below, we recommend using your websites homepage but you could also use your WHMCS cart or the most important page on your website.

Replace the URL between the double quotes with your homepage e.g:


Next you can set your custom landing pages, we've added some examples for you:

The default affiliate link uses the following format:

http://www.yourwebsite.com/aff.php?aff=000

Using the affiliates land anywhere module affiliates can add the landing page on the end as follows:

http://www.yourwebsite.com/aff.php?aff=000&page=domains

As you can see we are defining each URL using a separate link, the page variable on the left and the landing page URL on the right. Let's add a new URL, for example you have a SSL page at http://www.yourwebsite.com/ssl-certificates.php, you can add the following in aff-urls.php:

You can now offer the following URL to your affiliates:

http://www.yourwebsite.com/aff.php?aff=000&page=ssl

3) Upload files

Once you've finished editing the aff-urls.php file with your default and custom landing pages you'll need to upload the module to your WHMCS.

FTP left
A screenshot of the left (local) side you should see (the upload folder).
FTP right
A screenshot of the right (remote) side you should see (WHMCS directory).
 

Open up FileZilla and login to your web hosting account as normal. On the left side (your local computer’s files) navigate to the upload folder as seen above. On the right side (your web hosting account) navigate to inside the WHMCS folder as seen above. Select all of the files from the left side, then upload. Both the server and local side will contain the aff.php file, this will be overwritten in WHMCS, the aff-urls.php is a unique file of the module so it won't be overwritten.

4) Provide the URLs to your affiliates

Now your custom landing URLs are active and ready to use it's now time to provide them to your affiliates to benefit from.

A great way to display your affiliate resources is using the Affiliate Links box in your WHMCS admin panel under setup > general settings > affiliates > Affiliate Links.

Anything you add to this box will display to your affiliates on the affiliates.php page of WHMCS. We can also add the affiliate ID option to the resources so the affiliate will see their exact affiliate link and be able to copy/paste it to their website without editing.

Below is example code you can use in the affiliate links box which uses the examples in the aff-urls.php file, you'll need to edit this to add your links.

To install copy/paste the above code to setup > general settings > affiliates > Affiliate Links then edit the URLs to those you have set for your affiliates.

DONE - your custom affiliate URLs will now be active and visible for your affiliates to promote.


whmcs services

 

Leave a comment

Let us know what you think!

 
the best whmcs templates
premium html code - scripts
custom banner design service
 
 
Top