I want to remove the pagination on my front page, which has a static homepage.

<link rel='next' href='http://domain/page/2/'/>

I use this code but it doesn’t remove it:

remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 2 );

What’s wrong?

Read more here: remove action adjacent_posts_rel_link_wp_head


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: