Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @tobski,

    Thanks for reaching out. I understand that you want to noindex a PDF file.

    I would like to let you know that individual media files, like PDF, cannot be “noindexed” using the Yoast SEO plugin. This is because, when you directly access these files, they are not served through WordPress.

    To “noindex” PDF files, please look into using the “X-Robots-Tag for PDF”. These tags need to be added to your server configuration. As the tags vary depending on your server, you can check the article: https://yoast.com/x-robots-tag-play/ and identify the relevant tag you need. You can find the specific instructions by looking for “PDF” in the doc, and you will be headed to the correct section.

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding No Index to PDFS’ is closed to new replies.