I would like to be able to automatically change links into affiliate links on my Wordpress and Mybb installation. This would help to reduce the amount of time managing links in case the code needs to be changed in the future as you know advertiser keeps changing the affiliate websites from one another.
This is my setup of bestylish.com affiliate scheme. If the url is suppose : http://www.bestylish.com/men-shoes
I need to make it this :- http://affiliates.tyroodr.com/ez/arttnpokwow/&lnkurl=http://www.bestylish.com/men-shoes%3Futm_source%3Dtyroo%26utm_medium%3Daffiliate%26utm_campaign%3D12june12_20percenteossoffer
I also need to have a http:// always before starting www.bestylish.com if its there, it ok, if its not there, then i need to add it otherwise it wont be redirected correctly.
The same Kind of thing is here : Change all website links to affiliate links automatically
But this talks about appending the code at the end only, whereas i have to append the code at the beginning too. Also this doesn't talk about adding http:// in the beginning everytime. Can anyone help me with this?