• Resolved sfuma

    (@sfuma)


    I want to reinstall the plugin from scratch.
    Please give me a script for completely removing and cleaning the plugin database so that I can reinstall the plugin, since my database contains the wp_yoast_seo_meta table, which is no longer needed.

Viewing 11 replies - 1 through 11 (of 11 total)
  • We are afraid to say that we don’t have any script available that will wipe out all the database entries and tables related to our plugin. If you really want to wipe out everything from the database, you’ll need to manually find the relevant tables and entries.

    Thread Starter sfuma

    (@sfuma)

    Make a plugin to clean up the database completely. According to the rules of WordPress, you must provide users of your plugin with its complete removal from the database. Otherwise it infringes on our rights.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    According to the rules of WordPress, you must provide users of your plugin with its complete removal from the database. Otherwise it infringes on our rights.

    Hi, Plugin Rep checking in. This is not correct.

    We do not require plugins to clean up and remove things from the database. We strongly recommend it, but since many people do remove plugins to debug, it’s not actually that smart to nuke settings and database info every time.

    We DO recommend your plugin have an option “delete all data and settings” though.

    Also this doesn’t infringe on any rights that I’m aware of (you don’t have a legal right for plugins to delete their data from your database).

    Thread Starter sfuma

    (@sfuma)

    You yourself understand that if a plugin does not have the function of completely removing it from the database, in the end, after each installation of a new plugin and its removal, the database grows, which leads to slowdown of the site.

    Hi @sfuma,

    Just wanted to mention that you can find the details to completely uninstall Yoast SEO and all the associated data from your database in the “Complete Data Removal” section on this guide on the Yoast website: How Can I Uninstall My Plugin?.

    Thread Starter sfuma

    (@sfuma)

    This is not a complete removal of the plugin. Your article has no information on how to remove a plugin from tables: wp_options, wp_postmeta, wp_usermeta.

    Make a “Complete plugin removal” function in your plugin.

    • This reply was modified 5 years, 4 months ago by sfuma.
    • This reply was modified 5 years, 4 months ago by sfuma.
    • This reply was modified 5 years, 4 months ago by sfuma.
    Plugin Support Michael Tiña

    (@mikes41720)

    Hi,

    If you were to delete the plugin from your list of plugins in your WordPress dashboard and were to search the database for entries containing wp_yoast and manually remove the data, it should remove all traces of the plugin.

    These entries are:

    wp_yoast_indexable
    wp_yoast_indexable_hierarchy
    wp_yoast_migrations
    wp_yoast_primary_term
    wp_yoast_prominent_words
    wp_yoast_seo_links
    wp_yoast_seo_meta

    Thread Starter sfuma

    (@sfuma)

    “Wpseo” is not your table entries? Don’t delete them?)
    yoast-tables
    wp_options-table-yoast-seo-2

    • This reply was modified 5 years, 4 months ago by sfuma.
    • This reply was modified 5 years, 4 months ago by sfuma.
    • This reply was modified 5 years, 4 months ago by sfuma.
    • This reply was modified 5 years, 4 months ago by sfuma.
    Plugin Support Michael Tiña

    (@mikes41720)

    Hi @sfuma

    We apologize for any misinformation.

    In order to completely remove all traces of data in the plugin, you’ll need to:

    1. Search the database for all entries containing wpseo and manually remove the data.

    2. Search the database for entries containing wp_yoast and remove the data. These entires include:

    wp_yoast_indexable
    wp_yoast_indexable_hierarchy
    wp_yoast_migrations
    wp_yoast_primary_term
    wp_yoast_prominent_words
    wp_yoast_seo_links
    wp_yoast_seo_meta

    We’re going to be updating the Help Center article to reflect the correct information as well.

    Thread Starter sfuma

    (@sfuma)

    Why don’t you want to make the “Complete plugin removal” function, as it is, for example, implemented in the Wordfence Security plugin?

    @sfuma,

    Yoast may not offer a separate plugin (or a built-in feature) to completely remove its data (say, from your database) for many reasons. Some logical, some not.

    Rather than wrestling around with this topic, you may be better served if you read this excellent article (in addition to those provided above by Team Yoast) on how to remove Yoast completely.

    Grab a cup of coffee (or tea) and “get ‘er done!”

    Best wishes!

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

The topic ‘Removing a plugin completely from the database’ is closed to new replies.