Hello,
We apologize for the issue you are facing. To add a nofollow attribute to pagination links in Rank Math, you can follow these steps:
-
Navigate to Titles & Meta Settings: Go to WordPress Dashboard → Rank Math SEO → Titles & Meta → Misc. Pages.

-
Enable Noindex for Paginated Pages: In the Misc. Pages section, look for the Noindex Paginated Single Pages option and enable it. This will prevent paginated pages from appearing in search results, but it does not directly add a nofollow attribute to the pagination links.

Unfortunately, Rank Math does not provide a direct option to add a nofollow
attribute specifically to pagination links like “. However, you can manage nofollow attributes for external links globally or for specific domains through the Links settings in Rank Math.
If you need further assistance or have more specific requirements, please reply to this ticket, and a human agent from the Rank Math Support team will be happy to help you further!
Sources:
How to NoIndex Paginated Pages » Rank Math
How to Setup Rank Math SEO Plugin Properly
Hello,
In this case, you can use the following filter to set those paginated pages to noindex
and nofollow
:
add_filter( 'rank_math/frontend/robots', function( $robots ) {
// Check if the current page is paginated
if ( is_paged() ) {
$robots['index'] = 'noindex';
$robots['follow'] = 'nofollow';
}
return $robots;
});
Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
We hope this helps. Please let us know if you have further questions or concerns.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.