Hello,
I have a main mysite.com html site that can be found by search engine robots and I've done myite.com/download.html with these parameters <meta name="robots" content="noindex, nofollow, nosnippet, noodp, noarchive, noimageindex">
not to be found in search engines and where I want to create a download button for the .PDF files .DOC and .DOCX without the person seeing the path of the file <a href="http://meusite.com/download/arquivo.pdf">
, without that file can be indexed by the search engines and without the person being able to download by typing eg myite.com/download/film .pdf
I found some information on the internet via php, but most coupled the need to create a login on the download page.
The idea is to pass this link (meusite.com/download.html) to some people and they can only download it there.
- I placed the download files outside of public_html to make it difficult to access them directly, for example with link
- How do I make a download button without showing the direct link and if possible renaming the file ex: 759345798357934.pdf to file1.pdf and sdjfhksdjfksdjf.doc to file2.doc making it difficult to search for this file?
- How do I create a second PDF view button in the browser without also showing the actual path and changing its name?
Thanks for the help right away.