WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
[resolved] Option for rel='next' and 'prev' meta tags (6 posts)

  1. atz
    Member
    Posted 2 years ago #

    I am using the WordPress SEO Plugin on a WordPress installation that has several custom post types with archive pages. Those pages only have a single page but the Plugin is adding <link rel="next" href="http://www.example.com/custompost/page/2/" /> to the <head>

    I had a look for a removal option but couldn't find one. My quickfix is commenting out line 241 in class-frontend.php since I don't need/want the output anyway.

    Could you please add an option to the admin screens for a removal of this output?

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. Mike
    Member
    Posted 2 years ago #

    Totally agree. I want «rel» options too.

  3. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    No. You're doing your themes wrong if wp_query has a paged and a max pages setting there. Not something to fix in my plugin but in your theme...

  4. Mike
    Member
    Posted 2 years ago #

    I don't think so.

  5. Joost de Valk
    Member
    Plugin Author

    Posted 2 years ago #

    Well you can think all day long, in the end you'll have to prove to me that I'm wrong :)

    go to settings -> reading. If that doesn't say static page on your frontpage, than you've got a paginated homepage. Same goes for custom post type archives.

    This page, for example, is a custom post type archive. As you can see, there is no rel="next" there, because it's not paginated.

  6. Mike
    Member
    Posted 2 years ago #

    I understand, thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic