I provide downloadable items on my website and i have over 11 thousnad dowloadable items and it is hard to shorten all the download link link for all items.
There for i put the code like this:
Code: Select all
http://adf.ly/adfly_ID/mydowmian.com/download/somelink/
I have over 1000s dowonload per day according to my site state, but on adfly there only one visit showed on the state.
This mean the visitor have way to bypass the download link which lead to adfly, i guess they just copy the link and remove adfly part and past it like this:
Code: Select all
mydowmian.com/download/somelink/
Now the question is:
How i can encrypt the link on fly and don't let the visitor see the real download link?
When i put this link on browser:
Code: Select all
http://api.adf.ly/api.php?key=860550c3c809d9f3ebb7f8236b81b93&uid=108851&advert_type=int&domain=adf.ly&url=http://mydowmian.com/download/somelink/
The api give me the shorted link, BUT how to do this on script level?
Thank you.