Rank Math is the most popular WordPress SEO plugin. This plugin adds meta tags on a page to optimize the page on different platforms like Search Engines, Facebook, Twitter, etc. These meta tags actually decide how your website looks on those different platforms.
Although every meta tag has unique functionality, sometimes you might want to disable all the SEO tags generated by Rank Math. In this knowledgebase article, we’re going to walk you through how to disable all Rank Math Generated SEO tags.
How to Disable all Rank Math Generated SEO Tags
Rank Math helps you optimize the titles and meta tags of all your posts, no matter how big your website is. However, if you wish to disable all the SEO tags generated by Rank Math, follow these simple steps:
For a classic editor, navigate to WordPress Dashboard > Appearance > Theme File Editor:

Now add the code snippet to your theme’s functions.php or rank-math.php file.

If you’re using block editor, like Twenty Twenty-Two theme, navigate to WordPress Dashboard > Tools > Theme File Editor > functions.php

Add the following code snippet in the space provided and click Update File to effect the changes:
/**
* Function to disable SEO Tags generated by Rank Math
*/
function rankmath_disable_features() {
if ( is_singular( 'page' ) ) {
remove_all_actions( 'rank_math/head' );
}
}
add_action( 'wp_head', 'rankmath_disable_features', 1 );
This code will remove the SEO Tags generated by Rank Math on all pages.
And that’s it! You’ve successfully disabled all the Rank Math generated SEO tags. If you still have any questions about disabling all Rank Math generated SEO tags, please feel free to contact our dedicated support team. They are available 24/7, 365 days a year…