1. Home
  2. Knowledge Base
  3. SEO Suite
  4. How to Completely Uninstall Rank Math from Your Website

How to Completely Uninstall Rank Math from Your Website

Trying to uninstall Rank Math completely? You’ve come to the right place, we’ll walk you through the entire process in this knowledgebase article.

If this is a temporary deactivation, you’ll be pleased to hear that you can safely deactivate and uninstall Rank Math. Here’s how:

1. Log into your WordPress website.

2. Navigate to Plugins

3. Locate Rank Math on the plugins page & click Deactivate

Deactivate Rank Math

4. Wait for the page to reload, then click Delete.

Delete Rank Math

This is safe to do, temporarily uninstalling the plugin does not remove any of Rank Math’s data from your database. In case, if you’re looking to turn off only specific features of Rank Math, then we recommend you to follow this tutorial to disable modules in Rank Math instead of uninstalling the entire plugin.

In the unlikely event that you wish to completely clear all of Rank Math’s data from your database – please keep reading.

Please note: You will lose all of your hard work when uninstalling the plugin using the method we’re about to cover. Please only proceed if you’re sure you won’t need that data and want to start from scratch/completely reconfigure Rank Math.

Completely Removing Rank Math’s Data

If you wish to proceed with completely uninstalling the plugin with all the data, use this filter: 

/**
 * Filter to remove Rank Math data from the database
 */
add_filter( 'rank_math_clear_data_on_uninstall', '__return_true' );

Make sure that you have:

1. Activated Rank Math if it is not already enabled.

2. Head over to Appearance > Theme File Editor (for Classic Theme) or Tools > Theme File Editor (for Block Theme) inside your WordPress admin area.

Navigate to Theme File Editor

3. Now, add the above code to your theme’s functions.php or rank-math.php file. Ensure that you click the Update File button after adding the code.

Add code to completely uninstall Rank Math

4. Then navigate to the Plugins page and find Rank Math. Now that we’ve added a filter to delete Rank Math data, you’ll see an irreversible action notice. If you prefer to remove all Rank Math data completely, click Deactivate and then Delete.

Completely deactivate and delete Rank Math plugin

If you still have any questions about Rank Math – you’re always more than welcome to contact our dedicated support team, and we’re 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