I managed to make a little progress, though I’m not a php expert so would appreciate any help. I managed to strip out the mint/pepper/tilkruess/downloads/ from the link and renamed the tracker.php part of the url to my favoured dload.php. So currently the url looks like:
website.com/dload.php?url=http://www.we … m/file.pdf
What I did was make a copy of the tracker.php from the downloads dir, moved it to my base website dir and rename it to dload.php. Open it up and in the top require dir name link add in “/mint/pepper/tillkruess/downloads” at the front of the link. Then open up script.js from the downloads dir and change the Mint_TK_script url to the full website address directed at the dload.php (e.g. var Mint_TK_script = ‘http://www.website.com/dload.php?url=’;).
That’s it! I did a quick test and it seems to be working fine. I had a play around in the scripts.js but couldn’t figure out how to change the url= part of the link so it just reads downloads/file.pdf instead of a full link. I’d also like to hide the “downloads” bit from the url to shorten it further but I’ve no idea how to do that.
Any help appreciated guys!