• Resolved leighmaher

    (@leighmaher)


    Hi, our SEO tool is showing paginated pages of the /shop/ page as duplicate content, but not for archive (product categories) pages. The only difference I can see is that the rel prev next (rel=”prev” rel=”next”) don’t seem to be used by Yoast on the shop page but they are used on the archive page.

    I don’t see a way to add these tags to the shop page in the settings. Is there a way? If not, I want to add them using custom code, but I’d be interested to know why Yoast shows them on archive pages and not on the shop page. Maybe there’s a good reason I’m not aware of?

    p.s. I am aware that Google no longer uses these tags as a signal for consolidation.

    Thanks,

    Leigh

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • First issue which I see is duplicate title. It looks that your title template doesn’t work correctly (or there is missing %%page%%). Which are title templates on Yoast -> Search Appearance – https://yoast.com/help/configuration-guide-for-yoast-seo/#search-appearance

    Second is “invalid HTML”. I see <htmllang="en-US" instead of <html lang="en-US" – Probably missing space in header.php.

    Related to prev/next, did you try to update Yoast to the latest version?

    Thread Starter leighmaher

    (@leighmaher)

    Thanks for the quick reply, Sasa. Nice spot on the language tag. That’s fixed now.

    I’ve updated Yoast but prev/next still not showing. On our staging site we’ve also tested using the default wordpress theme and disabling all other plugins, but it still doesn’t show.

    I’m not sure what the issue is with the duplicate title though. I don’t see any issues with our title, and what is it a duplicate of?

    Related to duplicate titles:

    $ curl -s https://www.sssssss.com/shop/|sed 's/></>\n</g'|grep '[:<]title'
    <title>Shanore Irish Jewelry - The Best of Authentic Irish Designs in one place</title>
    <meta property="og:title" content="Shanore Irish Jewelry - The Best of Authentic Irish Designs in one place" />
    $ curl -s https://www.sssssss.com/shop/page/2/|sed 's/></>\n</g'|grep '[:<]title'
    <title>Shanore Irish Jewelry - The Best of Authentic Irish Designs in one place</title>
    <meta property="og:title" content="Shanore Irish Jewelry - The Best of Authentic Irish Designs in one place" />
    $ curl -s https://www.sssssss.com/shop/page/4/|sed 's/></>\n</g'|grep '[:<]title'
    <title>Shanore Irish Jewelry - The Best of Authentic Irish Designs in one place</title>
    <meta property="og:title" content="Shanore Irish Jewelry - The Best of Authentic Irish Designs in one place" />
    

    Title for page/2 should be something like this:
    Shanore Irish Jewelry page 2 of 28 - The Best of Authentic Irish Designs in one place
    Each (indexable) URL should have unique meta tags (including title) – https://yoast.com/help/how-do-i-fix-duplicate-meta-tags/

    It looks that adjacent links don’t work. I’ll try to check more details on fresh WP installation.

    Thread Starter leighmaher

    (@leighmaher)

    Thanks Sasa. I understand what you mean now, and I’ve fixed those, and actually that satisfied SEMRush. However, I’d still like to know whether Yoast normally shows prev/next on the shop page or if that issue is specific to me.

    Thanks again for engaging with me on this.

    I think that worked before indexables (version 14.0). I just checked it on fresh installation (and the codebase) and it isn’t an issue specific for your installation.

    Shop page is “the page” and “the products archive” at same time and it looks that current integration code (src/integrations/third-party/woocommerce.php) threats it as “simple page” when generates adjacent relative links. So, it’s an issue which we can report on github (I can’t find other similar reports related to shop page) – https://yoast.com/help/how-to-write-a-good-bug-report/

    I just created github issue – https://github.com/Yoast/wordpress-seo/issues/17071 You should follow this issue for updates related to prev/next links.

    Thread Starter leighmaher

    (@leighmaher)

    This is great. Thanks for this Sasa.

    Plugin Support Michael Tiña

    (@mikes41720)

    Hi @leighmaher

    Yoast SEO adds rel="next" and rel="prev" tags that let search engines know that they are on a paginated archive series. You can learn more about it here – https://yoast.com/help/is-the-plugin-compatible-with-paginated-content/

    It does indeed seem like a bug that those tags aren’t appearing for the /shop/ page based on the findings of @stodorovic (thanks as always!)

    Please do feel free to subscribe and follow the relevant GitHub issue for updates and comments from our developers regarding this. Thanks!

    Thread Starter leighmaher

    (@leighmaher)

    Thanks Michael. I’ll subscribe to that.

    I’ve created PR 17092 which fixes it. You can try it or wait version 16.6.

    Thread Starter leighmaher

    (@leighmaher)

    That’s great. Thanks Sasa. I’ll wait till it updates. Thanks for your efforts in getting this highlighted and fixed.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘rel prev next missing from shop page’ is closed to new replies.