aioseop noindex rss

Need help with this?
Purchase All in One SEO Pack Pro to get dedicated support from us.

Buy Now

The All in One SEO Pack aioseop_noindex_rss filter hook.


$noindex = apply_filters( 'aioseop_noindex_rss', true );
if ( $noindex ) {
	header( 'X-Robots-Tag: noindex, follow', true );

This filter can be used to remove the noindex HTTP header for RSS feeds.

Parameters (1)

0. (bool)
indicate whether RSS feeds should or shouldn’t have a noindex HTTP header. This defaults to true.


add_filter( 'aioseop_noindex_rss', 'noindex_rss' );

function noindex_rss() {
	return false;

Defined (1)

The filter is defined in the following location(s).


This filter hook was added in version 3.2.0 of All in One SEO Pack and All in One SEO Pack Pro.

For instructions on how to use this code, please refer to our FAQ here.

  • Was this helpful ?
  • YesNo