PURGE all Data? – to Start from New?

  • Good Morning RankMath! I had a problem with my first installation on my website as I was not allowed to properly post images and properties to Facebook because it kept showing my homepage image and not the image of the property that I was trying to share on Facebook… (twitter, pinterest also)… so I tried to RESET everything and start all over … I even UN-Installed the rank math plug in thinking that would help and then tried to reinstall it. But when I reinstalled it – it Remembered all the previous settings which was unexpected…

    So I would like to know is there a way to purge all the data so that I can start from a fresh install with Rank Math? Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math today.

    To be able to wipe all the Rank Math data from your database, please add the following code snippet to 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' );

    After adding the code, deactivate and delete Rank Math and then delete the code. Next, perform a fresh install of the plugin.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Thanks for the response!
    Can you tell me how to get to the Theme PHP file?

    null

    Hi Corey,

    Thanks for the question.

    Unfortunately the attached image does not seem to work.

    To be able to get to the theme file, please navigate to Appearance > Theme editor
    Theme editor

    If you don’t have access to the theme editor, please make the change via FTP or you could get in touch with your developer to help in enabling the theme editor.

    I hope this info helps. Thank you.

    OK – thanks!

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

The ticket ‘PURGE all Data? – to Start from New?’ is closed to new replies.