@pawelszroeder Regarding your concern, ?the plugin does not contain a feature to set a?.pdf?on your site to?noindex
.?The settings for media that you are referring to is in reference to the attachment pages that WordPress creates when you upload a media file.?
If you need to set .pdf files to noindex
on your site, we would recommend exploring using the X-Robots tag to accomplish this. For example, I’ve used the following code in my own .htaccess file to do this:
??<FilesMatch "\.pdf$"> header set x-robots-tag: noindex </FilesMatch>
?As .htaccess is a very sensitive file and any errors can result in breaking a site, we would recommend consulting with your hosting provider on the best way to implement this if you aren’t comfortable working with .htaccess, or alternately testing on a staging site so as not to run the risk of breaking a live site.
??You can also find more information on using the X-Robots tag here:?https://yoast.com/x-robots-tag-play/