With recent changes to how Google is discovering podcast I've been trying to get my podcast feeds to be crawled by Google. Not having a whole lot of luck with this. In the process I have found a possible issue due to Yoast SEO. It seems Yoast sets the X-Robots-Tag header tag to noindex for category based feeds.
public function noindex_feed() {
if ( ( is_feed() || is_robots() ) && headers_sent() === false ) {
header( 'X-Robots-Tag: noindex, follow', true );
return true;
}
return false;
}
Since Google now wants to index podcast feeds, I'm wondering if it would be best for Powerpress to have a function to prevent Yoast from setting the robots tag. I have submitted a post on the Wordpress support forums about this issue, but who knows what will come of that.