Yoast SEO
rel="next" and rel="prev" not working on Genesis homepage (2 posts)

  1. salsichad2
    Posted 3 years ago #

    I'm testing a new theme with Genesis Framework to update my site, but the problem is rel="next" and rel="prev" not working on Genesis homepage, but they work on tags or categories pages. I'm testint with the Genesis theme itself, not a child theme, and I notice that even the yoast.com homepage don´t have the rel="next" tag.

    Is that normal on Genesis?
    How can I fix that?


    <link rel="canonical" href="http://localhost/clube/?paged=2" />
    <meta name="robots" content="noindex,follow"/>

    Category Page

    <link rel="canonical" href="http://localhost/clube/?cat=8" />
    <link rel="next" href="http://localhost/clube/?cat=8&paged=2" />



  2. salsichad2
    Posted 3 years ago #

    Ok, I found.

    class-frontend.php >> WordPress SEO Plugin

    // Don't do this for Genesis, as the way Genesis handles homepage functionality is different and causes issues sometimes.
    	if ( !is_home() || !function_exists( 'genesis' ) )

    I don´t know what kind of issues it can cause but a double slash solve my problem.

    // if ( !is_home() || !function_exists( 'genesis' ) )

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic