WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
[resolved] Home post list, if it's paginated, why is it missing rel=noindex,follow? (5 posts)

  1. jprado
    Member
    Posted 9 months ago #

    We configured paginated pages to be rel=noindex,follow but on the homepage if it's paginated it is missing rel=noindex,follow. Is this a bug or is there reasoning behind this?

    The reason I as this is we're getting blank meta description warnings for pages > 1 on the blog home. These are the pages in the form /blog/page/x/. I looked in config bug it only applies to archive pages. Please let me know if there's something I'm missing or if it's a bug.

    http://wordpress.org/plugins/all-in-one-seo-pack/

  2. Peter Baylies
    Member
    Plugin Author

    Posted 9 months ago #

    jprado,

    That is correct, this is just for archive pages, the homepage itself is not considered to be a paginated page.

  3. jprado
    Member
    Posted 9 months ago #

    Thanks for the reply. What's the recommended action for those messages? We have 100 pages and we're getting warnings from SEO for empty meta descriptions.

  4. Peter Baylies
    Member
    Plugin Author

    Posted 9 months ago #

    jprado,

    There is now a aioseop_robots_meta filter hook in the plugin that you should be able to use to manage this. Example:

    add_filter( 'aioseop_robots_meta', 'jprado_front_page_robots' );
    function jprado_front_page_robots( $robots_meta ) {
        if ( is_front_page() ) {
            $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
            if ( $paged > 1 ) $robots_meta = 'noindex,follow';
        }
        return $robots_meta;
    }
  5. jprado
    Member
    Posted 9 months ago #

    This will work, thanks for the help!

Reply

You must log in to post.

About this Plugin

About this Topic