Viewing 6 replies - 1 through 6 (of 6 total)
  • With mine too.

    With mine too. links to archives.

    Temporarily disabled “Get adjacent pages link for archives”

    /wp-content/plugins/wordpress-seo/frontend/class-frontend.php
    Line 1115 commented

    $link = apply_filters( 'wpseo_' . $rel . '_rel_link', '<link rel="' . $rel . '" href="' . esc_url( $url ) . "\" />\n" );

    Thread Starter nicoolass

    (@nicoolass)

    You can add this lines to functions.php

    function wpseo_disable_rel_next( $link ) {
    return false;
    }
    add_filter( ‘wpseo_next_rel_link’, ‘wpseo_disable_rel_next’ );

    function wpseo_disable_rel_prev ( $link ) {
    return false;
    }
    add_filter( ‘wpseo_prev_rel_link’, ‘wpseo_disable_rel_prev’ );

    Me too, incorrect “Next” markup in CPT archives.

    We are aware of the issue and will provide a fix as soon as possible.
    If you have any information that can help us trace the problem, please provide it on GitHub.

    I’ll mark this thread as resolved, in favor of the issue on GitHub.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug with Link Prev in paginated pages’ is closed to new replies.