roosteromg.com Posted September 2, 2013 Share Posted September 2, 2013 I am setting up a few affiliate links and while testing them out, I am getting a weird redirect. Here is my situation: If I go to http://backstage.roosteromg.com, it works fine, but if I go to http://backstage.roosteromg.com/*?aff=012, it redirects back to http://roosteromg.com. Everything else seems to work fine, only the affiliate links. Any ideas? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 2, 2013 Share Posted September 2, 2013 I think that's fine - the * has the following code at the bottom... header("HTTP/1.1 301 Moved Permanently");header("Location: ".$whmcs->get_config('Domain'),true,301); I assume if you added an affiliate link to a product it would work fine rather than redirect. http://docs.whmcs.com/Affiliates 0 Quote Link to comment Share on other sites More sharing options...
roosteromg.com Posted September 2, 2013 Author Share Posted September 2, 2013 Thanks Brian for the quick reply; I will check out the link. 0 Quote Link to comment Share on other sites More sharing options...
roosteromg.com Posted September 2, 2013 Author Share Posted September 2, 2013 I think that's fine - the * has the following code at the bottom... I assume if you added an affiliate link to a product it would work fine rather than redirect. http://docs.whmcs.com/Affiliates Although adding the &pid=x to the end worked, I really need them to have the choice of the different hosting packages. I still need to test to see if on signup it registers the affiliate purchase, but what seemed to work without error or redirect was to create the link to the products like this https://backstage.roosteromg.com/cart.php/*?aff=012 - in my case, making sure the "s" is part of the http, because if not, I still get the redirect error. I will post my results after testing. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.