First, deactivate and delete the plugin from the WordPress dashboard normally.
Then:
Step #1: Delete all tables from the database that have the word “yoast” in the name.
You can do that with this plugin: https://wordpress.org/plugins/advanced-database-cleaner
Step #2: Remove all the other database entries created by Yoast SEO.
You can do that with phpMyAdmin. Just run these SQL commands:
DELETE FROM wp_options WHERE option_name LIKE '%wpseo%'
DELETE FROM wp_options WHERE option_name LIKE '%yoast%'That’s it!
