I'm generating a download link which I sent through email to download a pdf file. There are some parameters (base64 encoded) in the download link to verify the correct profile/user. I want to be the download link as follows:
The parameters are directly added after the subdirectory. I know it can be done with php GET as follows: www.example.com/download/index.php?base64=ZW5jb2RlbXljb2Rl
But in my opinion it is nicer to use the first URL. Except I have no idea how to accomplish this with php. My guess I have to make a rewrite in htaccess?
I found this thread: Rewriting a URL to a PHP parameter from inside a subdirectory
But I already have some htaccess rewrites (JOOMLA), and it is just for the only folder...
Thanks for your effort!