1. Home
  2. Knowledge Base
  3. SEO Suite
  4. How to Disable All Rank Math Generated SEO Tags

How to Disable All Rank Math Generated SEO Tags

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:

Navigate toTheme File Editor from Appearances

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

Filter to remove Schema from all product category pages

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

functions.php from block theme Twenty Twenty- Two

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…

Was this article helpful?

Still not using Rank Math?

Setup takes less than 5 minutes including the import from your old SEO Plugin!

Learn more about the PRO Version

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles