This is what we want our .htaccess file to do 1) for all requests originating from another server 2) check if the extension is .pdf 3) if it is then redirect from domainroot /a/b/c/d/f/file.pdf to domainroot/x/b/c/d/f/file.php in other words simply change the the first level folder from 'a' to 'b' and the extension from '.pdf' to '.php' Our entire site is being designed around the fact that user must first visit the .php version of the page prior to directly downloading the pdf and we want to ensure that the only way to get to the pdf is directly from our site. Feel free to pm details and your paypal info. $50-60 ballpark is what i hope to pay.