I'm using the following code in functions.php to add rel prev/next tags to paginated contents: function add_rel_nextprev_to_paginated_content() { global $paged; if ( get_previous_posts_link() ) { ?><link rel="prev" href="<?php echo get_pagenum_link( $paged - 1 ); ?>"><?php } if ( get_next_posts_link() ) { ?><link rel="next" href="<?php echo get_pagenum_link( $paged + 1 ); ?>"><?php } } remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');...
Originally asked by Toby on Stack Exchange (wordpress) (CC BY-SA 4.0).