How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Custom affiliate link destinations in URL



I am the owner of several catalogues, including https://poiskvps.ru, https://vps.today, and https://looking.house (they are used for comparing and choosing VPS/VDS).

Many providers use your WHMCS billing and I participate in their affiliate programs.

I have an idea which could improve the affiliate program and grow conversions for providers. This feature also works in such billings as RootPanel, BILLmanager, or BPanel.

Currently, the link redirects to the home page, the product, or cart. In some cases, it would be better to give a link to one of the pages on the provider’s site.

It would be nice to use, for example, https://example.com/dedicated or "https://example.com/vps.php as a landing page.

It is very easy to implement:
just replace in aff.php
header("Location: ".$whmcs->get_config('Domain'),true,301);
with
header("Location: " . $whmcs->get_config('Domain') . (($whmcs->get_req_var('url') != '') ? ('/' . $whmcs->get_req_var('url')) : ''), true, 301);

After that, partners will be able to use links https://www.example.com/aff.php?aff=001&url=dedicated or https://www.example.com/aff.php?aff=001&url=vps.php

I hope that you'll add this feature in the next releases of WHMCS.

Post the first comment

Login to post a comment.