• Resolved Brad Brown

    (@bradbrownmagic)


    For this site, it is important that author pages can be indexed. However, they are getting a robots noindex meta tag.

    I do have the “Apply noindex to Author pages?” unchecked on the Robots Meta Settings Indexing tab.

    Deactivating this plugin removes the tag, so it is this plugin producing the tag.

    FWIW, the site does not use the normal author base. It changes it from from “author” to “profile.” Don’t know whether or not that’s significant.

    Any help would be appreciated.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi Brad!

    What you’ve encountered is a safety feature in The SEO Framework that when there are no posts found for an (author’s) archive, TSF applies noindex to them.

    You can override that behavior via this filter:

    add_filter( 'the_seo_framework_robots_meta_array', function( $meta, $args, $ignore ) {
    
    	if ( null === $args ) {
    		if ( is_author() ) {
    			unset( $meta['noindex'] );
    		}
    	}
    
    	return $meta;
    }, 10, 3 );

    I don’t think your rewrite base change should affect this.

    Thread Starter Brad Brown

    (@bradbrownmagic)

    Makes sense, we are using author pages in a somewhat unusual way.

    Thanks for the quick response. I love the plugin and the great support you provide. (I’d give you another 5-star review if I could.)

    Plugin Author Sybre Waaijer

    (@cybr)

    Cheers! 😊 Thank you so much, Brad!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Incorrectly “noindex-ing” Author Pages’ is closed to new replies.