Remove Prev, Next, Index Links from wp_head()

Remove the links to prev link, next link, relational links and index link from wp_head() WordPress header. Add this code in your theme’s functions.php file:

remove_action('wp_head', 'index_rel_link');
remove_action('wp_head', 'parent_post_rel_link');
remove_action('wp_head', 'start_post_rel_link');
remove_action('wp_head', 'adjacent_posts_rel_link');

More Related Posts