This is the content of the file "robots.txt" that I created that in theory tells google robots not to show in the internet searches the pdf that is hosted on the page.
Disallow: * .pdf $
Disallow: * .rar $
but it does not work, it finds them the same, I change the name to the pds, I upload them again to the web page and to the ftp and after 20 or 30 days I find them again.
Copy link to clipboard
It might help to not throw in extraneous spaces. You know, in the computer world spaces are valid characters, not just hot air to be ignored.