Hello @davidwsnow
Thank you for contacting the support and sorry for the issue you are facing.
Please add the following filter to your theme’s functions.php file:
https://rankmath.com/kb/filters-hooks-api-developer/#clear-rm-data
and then install, deactivate, and delete the plugin.
No data from Rank Math will be left behind.
Hope that helps. If you have any further question(s), please let us know.
This is terrible. A plugin should delete after itself when uninstalled. Facing this issue now, and found it via Google. Never again.
I have already uninstalled it. How should I clean up my database?
Hello @morespinach,
For various reasons many users temporarily deactivate their plugins, that’s why we don’t delete the plugin data.
Please add below code in your theme’s functions.php file:
/**
* Filter to remove Rank Math data from the database
*/
add_filter( 'rank_math_clear_data_on_uninstall', '__return_true' );
Then activate and deactivate the Rank Math plugin. All the tables related to Rank Math will be removed from the database.
Hope this helps.
Thank you.
I deleted the plugin already. Then discovered tables. Then deleted the tables via MySQL.
Is there anything else to delete?
Hi @morespinach,
If you have deleted the tables, then there is nothing left.
If you have any other queries, please let us know.
Thank you.
Sitemap was not working ,google can’t fecth, so I installed yoast again by removing rnakmath because it is a traffic site.But it is strange that its non working sitemap is still there in yoast.
Then I followed functions.php tips but it did not work
It killed my site ,even yoast is not working on my site ”
Indexability check by Ryte
Yoast SEO has not been able to fetch your site’s indexability status from Ryte”
It seems to be virus, I never saw this kind of dangerous plugin.
Pls help remove it fully
I am going to submit my log in info to you. Please help remove it fully.
-
This reply was modified 4 years, 6 months ago by Abu Monsur.
I don’t see the infection any more but Google still can not fecth the sitemap
Hello @monsur
As it’s evident that the issue is not related to Rank Math, can you please open a support topic with the new plugin you are using?
Thank you.
This doesn’t seem to work for multisite.
/**
* Filter to remove Rank Math data from the database
*/
add_filter( 'rank_math_clear_data_on_uninstall', '__return_true' );
Then activate and deactivate the Rank Math plugin. All the tables related to Rank Math will be removed from the database.
Hello @jeffreytay
Thank you for pointing that out. It does seem like an issue with the plugin.
We have reported it and a fix should be added to one of the upcoming updates.
We would request you to please open a separate support topic so we can assist you better.
We seek your patience and understanding in this matter.
All described above methods dont help. sitemap still
This XML Sitemap is generated by Rank Math WordPress SEO Plugin
Although plugin has been deleted and no traces in DB.
Waiting for Your support.
[Moderator note: Please, No bumping.
I am getting the plugin still showing on my admin page how can I delete it and get it off
Hello @dmitrii73
Assuming you are using the latest version of the Rank Math plugin and the following filter was added to your theme’s functions.php file:
https://rankmath.com/kb/filters-hooks-api-developer/#clear-rm-data
Can you please open a separate support topic so we can assist you better?
https://wordpress.org/support/plugin/seo-by-rank-math/#new-post
Please provide more details on your topic.
Looking forward to helping you. Thank you.
I’m having a similar issue where sitemap and all seo meta/keywords are not indexing since installing Rank Math. I since deleted the plug-in, but it’s clearly effected some code as the issue persists. I don’t know how to change much coding in site, please advise.