Forums

WordPress SEO by Yoast
[resolved] problem with rel='next' (21 posts)

  1. brianscoop
    Member
    Posted 3 months ago #

    Worddpress SEO seems to be adding rel="next" pointing at non-existent pages. Please advise!

    Look at this page: http://goo.gl/wh7JB

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

  2. brianscoop
    Member
    Posted 3 months ago #

    Maybe this wasn't explained well. This seems like a major bug to me unless I'm doing something wrong. I am at a loss for how to handle this and really need help!

    Something is causing WP to generate rel='next' tags in the header that point to non-existent pages. It must be the WordPress SEO plugin. Please view the source, for ex, on http://www.openmoves.com/portfolio/email-marketing/technology/page/2/

    Note that in the head section there is the line:
    <link rel="next" href="http://www.openmoves.com/portfolio/email-marketing/technology/page/3/" /> - That page does not exist.

    And this goes very deep on the upper level pages like
    http://www.openmoves.com/portfolio/page/14/

    And those non-existent pages DON'T produce a 404 - they producs an empty page with yet another rel="next" like in:
    http://www.openmoves.com/portfolio/page/15/

    This goes on ad infinitum!

    So Googlebot can see those pseudo pages but will be very unhappy about crawling them, finding no content, and yet endless links to more and more!

    Any ideas? Help!

  3. splashlime
    Member
    Posted 3 months ago #

    Hi, I am having the same problem with the rel='next' link on my homepage using Yoast WordPress SEO plugin v1.1.5

    http://www.interestingeverything.com

    link rel="next" href="http://www.interestingeverything.com/page/2/"

    "/page/2/" is a copy of my home page and is causing google webmasters to report duplicate content for my home page.

    Is there a way to turn this addition to the Head off ?

  4. Joost de Valk
    Member
    Posted 3 months ago #

    This is the direct result of your theme using WP_query wrong in most cases. Try switching to the default theme and see if the issue remains.

  5. splashlime
    Member
    Posted 3 months ago #

    Hi Joost, thank you for your quick reply.

    I reverted to the default Twenty Eleven 1.3 theme and still had the issue.

  6. nautilus7
    Member
    Posted 3 months ago #

    I have a different problem related to rel="next". In my site, /page/2/, page/3/, etc, don't have a meta="discription" while the 1st page has.

    What can be wrong?

  7. NearlyHomeTime
    Member
    Posted 3 months ago #

    Firstly, I've got to say that I absolutely love Yoast's WordPress SEO and have upgraded all my blogs to this plug in. It's by far the best I've used.

    The only slight niggle I'm getting is with this same issues that y'all are having: "rel=next href=http:blah.com/page/2" issue.
    I'me getting this on the on the home page and category pages but not single post pages.

    When I go the "page/2" the content is identical - on category pages it stops at 2, but keeps going up to 26 on the on the home page.

    I'm having this issue across three different sites, with three different themes.

    Would really appreciate some help!

  8. NearlyHomeTime
    Member
    Posted 3 months ago #

    If anyone doesn't mind tinkering with the code, you could always comment out line 241 in the 'wordpress-seo/frontend/class-frontend.php' file as below:

    So it goes from:

    $this->adjacent_rel_links();

    to:

    //$this->adjacent_rel_links();

    This has temporarily fixed it for me, but try at your own risk!

  9. brianscoop
    Member
    Posted 2 months ago #

    I'm still getting this fictitious page 2 reference in the head on more sites that use WP SEO. Anyone have a solution yet?

  10. NearlyHomeTime
    Member
    Posted 1 week ago #

    The latest patch (1.1.7) didn't fix for me, so I've commenented out the line as before, excepton it's on line 246 now.

  11. Joost de Valk
    Member
    Posted 1 week ago #

    If you're /page/2/ is the same as your home, your WP settings are wrong, not the plugin..

  12. NearlyHomeTime
    Member
    Posted 1 week ago #

    Which settings are wrong Joost?

  13. Joost de Valk
    Member
    Posted 1 week ago #

    Well if you have a static homepage, under settings -> reading, you should have a static homepage set...

  14. brianscoop
    Member
    Posted 1 week ago #

    Joost,

    Those settings are correct on my site, and still, I'm getting rel=next where there shouldn't be.

    Please look at:
    http://www.openmoves.com/portfolio/email-marketing/manufacturing/

    The source code on that page has:
    <link rel="next" href="http://www.openmoves.com/portfolio/email-marketing/manufacturing/page/2/" />

    But there is no page 2. This is a source of frustration for many months and it's happening on other sites of mine as well.

  15. tmac187
    Member
    Posted 1 week ago #

    I too have this same problem. I'm using Arras Theme, which I believe uses it's own home.php for the homepage, not something you can set in settings ==> reading...

  16. Joost de Valk
    Member
    Posted 1 week ago #

    Brian, tmac, could both of you switch to the default theme for a bit and check if it still happens?

  17. brianscoop
    Member
    Posted 1 week ago #

    I will definitely be happy to give that a shot and report back. It is likely to happen after our long holiday here, maybe next Tue or Wed.

    Thanks!

    Brian

  18. tmac187
    Member
    Posted 1 week ago #

    Well, I updated to version 1.1.8 of your plugin and now my site doesn't work. A blank page displays when you navigate to my page. When I deactivate it, it works fine...

  19. tmac187
    Member
    Posted 1 week ago #

    If I can get your plugin to work I will test out my default theme.

  20. tmac187
    Member
    Posted 1 week ago #

    Ok, I switched to Twenty Eleven and the rel=next link works. So, it looks like the problem is Arras Theme specific in my case. Is it possible to remove the rel=next? Or maybe strip it out of the arras theme in your next update?

  21. Joost de Valk
    Member
    Posted 5 days ago #

    No. I'm sorry i'm not going to make changes to that functionality just because some themes are absolute crap. Arras theme uses its queries wrong which causes this, and probably many other issues.

Reply

You must log in to post.

About this Plugin

About this Topic