Remove PDFs From Google Search |
Hello,
I would be very grateful if someone can advise me on how to correctly apply the 'noindex' to all PDF files within my CodeIgniter web site. I have read that this can normally be achieved by use of the 'Filesmatch' tag within the .htaccess file as illustrated below, but I am not sure if the code snippet is in the correct format for CodeIgniter. Many thanks in advance. Code: <FilesMatch "\.pdf$"> < (10-27-2022, 06:02 AM)Mark H Wrote: Hello, See: https://webmasters.stackexchange.com/a/49124 PHP Code: <Files ~ "\.pdf$">
Thank you so much for your kind response. I will utilise that code within the CodeIgniter .htaccess file and let you know if it resolves my issue.
|
Welcome Guest, Not a member yet? Register Sign In |