Noindex WordPress Media Attachment Pages


add_action('wp_head', 'rjd_noindex_attachment_pages');
function rjd_noindex_attachment_pages(){
if (get_post_mime_type()!= false){
echo ' ';
}
}
Want a Fast Server Like Mine?

GET VULTR!