Support » Plugin: Yoast SEO » Disable link rel="next" in home page

  • Hi,
    I want to disable the link rel=next but only in the home page,
    I tried to use this filter in the functions.php

    function wpseo_disable_rel_next_home( $link ) {
      if ( is_home() ) {
        return false;
    add_filter( 'wpseo_next_rel_link', 'wpseo_disable_rel_next_home' );

    It disables in the home page, but also in the category pages (menu at the top).

    How can I do?

    The website is at


  • The topic ‘Disable link rel="next" in home page’ is closed to new replies.