Forums Forums White Hat SEO Dummies guide to deindexing WP Media files (gated content)?

  • Dummies guide to deindexing WP Media files (gated content)?

    Posted by seohelper on October 14, 2021 at 10:44 am

    This feels like a really stupid question but I’m a general marketer and I can’t find an adequate answer online.

    The WordPress website I’m working on has several PDFs that are gated behind a contact form (button links to Media URL). I noticed recently that one of the PDFs was showing in search results, so I requested a removal via Search Console but this is only a temporary removal.

    I use Yoast for indexing usually but it doesn’t display on WordPress Media items. Suggestions online include adding it to Robots.txt but I don’t want to display the Media item’s URL anywhere (needs to be completely inaccessible other than those with a direct link / directed via contact form).

    Any idea on how I can de-index these Media URLs? I’m not too comfortable with adding in code (I have to use the built in Theme Editor as I don’t have server access). I was thinking otherwise I might have to change it so the button downloads the file to your computer rather than opening in a URL.

    just-wana-help replied 11 months, 3 weeks ago 1 Member · 1 Reply
  • 1 Reply
  • just-wana-help

    October 14, 2021 at 3:34 pm

    Not having access to the server is a pain. Really some simple edits to your [Robots.t]( file and you would be good to go. See if there is another feature in Yoast that will allow you to de-index specific pages. if you want to try a different SEO plugin, I believe Rank Math allows for that.

    is there anywhere in the media file that you can select de-index?