• Resolved acquacalda

    (@acquacalda)


    Good morning,
    I set the meta robot “noindex” as the default value for the media contained on my site so that they would not be displayed in the search results but this happens anyway.
    Not having obtained the desired result, I attributed the values ??”noindex” and “nofollow” to the individual media files (be they images or other types of documents such as pdf or excel files).
    However, I did not get the desired result, the files continue to be indexed and visible in searches.
    How can I do?
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello Acquacalda,

    Thanks for reaching out regarding not indexing your media files.

    First, check if you have set to “no” the option to ‘Redirect attachment URLs to the attachment itself?’ in WordPress > SEO > Search Appearance > Media. By the way, you should only do this if your attachment URLs are an important aspect of your site. Meaning that you’re linking actively to these pages and these pages have real content on them (more than just a photo). This could, for instance, apply to a photography site.

    Next, 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”. We have an article explaining what this tag is and some examples on how to use it to “noindex” PDF files. You can find the article here.

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘meta robot “noindex” doesn’t work’ is closed to new replies.