deed Posted August 31, 2010 Share Posted August 31, 2010 Hello everyone, I own a small web hosting company and I wanted to offer my sales staff a 25% recurring commission for each sale. Instead of http://www.mydomain.com/client/*?aff=008 which looks unprofessional, would it be possible to have them send customers to lets say mydomain.com/toddsales and have him obtain the commission. Having coupon code commissions would be great also. If anyone has suggestions it would be greatly appreciated! 0 Quote Link to comment Share on other sites More sharing options...
deed Posted September 2, 2010 Author Share Posted September 2, 2010 Can anyone offer help? I would like to setup my employees on a proper commission but I cannot do this without assistance. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
GGWH-James Posted September 11, 2010 Share Posted September 11, 2010 (edited) You could use .htacces and mod_rewrite to have, for example, http://yourdomain.tld/something/###-Whatever (or any other format you setup) load http://yourdomain.tld/client/*?aff=###. For example: RewriteRule ^sales/([0-9]+) client/*?aff=$1 [QSA] The above example would allow you to give http://yourdomain.tld/sales/1-Todd, but through the magic of mod_rewrite, http://yourdomain.tld/client/*?aff=1 would be loaded. Edited September 11, 2010 by GGWH-James 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted September 11, 2010 Share Posted September 11, 2010 You could use .htacces and mod_rewrite to have, for example, http://yourdomain.tld/something/###-Whatever (or any other format you setup) load http://yourdomain.tld/client/*?aff=###. For example: RewriteRule ^sales/([0-9]+) client/*?aff=$1 [QSA] The above example would allow you to give http://yourdomain.tld/sales/1-Todd, but through the magic of mod_rewrite, http://yourdomain.tld/client/*?aff=1 would be loaded. extend that further as ^sales/([0-9A-Za-z]+) client/*?admin=$1 and add a little code to * to lookup the admin variable in tbladmins, grab the email, and use teh email to find the client, and use that to get the affiliate id ... 0 Quote Link to comment Share on other sites More sharing options...
deed Posted September 12, 2010 Author Share Posted September 12, 2010 Thanks everyone that sounds great. Now would it be possible to set the affiliate payout delay to 30 days just for my employees? If so how? It would be nice since my employees would not do affiliate fraud and still have normal customers which have the possibility of affiliate fraud set for 90 days. 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.