Viewing 15 replies - 1 through 15 (of 26 total)
  • Thread Starter brianscoop

    (@brianscoop)

    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 https://www.openmoves.com/portfolio/email-marketing/technology/page/2/

    Note that in the head section there is the line:
    <link rel=”next” href=”https://www.openmoves.com/portfolio/email-marketing/technology/page/3/&#8221; /> – That page does not exist.

    And this goes very deep on the upper level pages like
    https://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:
    https://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!

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

    https://www.interestingeverything.com

    link rel=”next” href=”https://www.interestingeverything.com/page/2/&#8221;

    “/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 ?

    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.

    Hi Joost, thank you for your quick reply.

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

    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?

    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!

    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!

    Thread Starter brianscoop

    (@brianscoop)

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

    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.

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

    Which settings are wrong Joost?

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

    Thread Starter brianscoop

    (@brianscoop)

    Joost,

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

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

    The source code on that page has:
    <link rel=”next” href=”https://www.openmoves.com/portfolio/email-marketing/manufacturing/page/2/&#8221; />

    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.

    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…

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

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘[Plugin: WordPress SEO by Yoast] problem with rel='next'’ is closed to new replies.