2
Hello,
I have a main html site meusite.com that can be found by the search engines' robots and made meusite.com/download.html with these parameters<meta name="robots" content="noindex, nofollow, nosnippet, noodp, noarchive, noimageindex">
not to be found in the search engines and where I want to create a download button for the files . PDF . DOC and . DOCX without the person seeing the file path <a href="http://meusite.com/download/arquivo.pdf">
, without this file being indexed by the search engines and without the person being able to download it by typing for example meusite.com/download/file.pdf
I found some information on the internet via php, but most linked to 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 that they can only download there.
- I put the download files outside public_html to make it difficult to directly access them for example with https://meusite.com/download/arquivo.doc
- I have how to 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?
- I have how to create a second button view PDF in the browser itself without also showing the real path and changing its name?
Thanks in advance for the help.