For long, I was using WP Social SEO (Which is a paid plugin), and after switching to Yoast SEO plugin, it was no longer necessary to stick to old plugin.
The issue that I faced is, I had to move all my database value from old plugin to SEO by Yoast. This process required:
- Import old value from one database table to table create by SEO by Yoast plugin
Note: Before you run this command, ensure you take the backup of your database. I take no responsibility for any mishap.
For me, below SQL query worked & I managed to transfer all values from old Social SEO plugin to SEO by Yoast Social SEO tables.
UPDATE `dbname`.`wp_sndr2f_postmeta`
SET meta_key = '_yoast_wpseo_opengraph-title'
WHERE meta_key = '_wps_seo_booster_ogp_title'
In the above SQL query:
- _yoast_wpseo_opengraph-title is the open graph title meta_name for Yoast SEO plugin
- Where as _wps_seo_booster_ogp_title have the value from old plugin.
- dbname: replace DB name with the actual Db name

Similarly I had to find meta_key name for my old plugin table & using the above SQL query, migrated the meta_value to the new meta_key
Note: Make sure to replace the DB name & table name according to your database. You also need to verify that meta_value has been moved from one meta_key to another manually or by searching for value using SQL search operator.
Once you have verified that value has been migrated from old SQL key to new, you can disable the old WordPress plugin. If for any reason above SQL query doesn’t work for you, you should restore database backup & search for alternate SQL query.
- Also see: How to delete custom field value from WordPress database
- How to clean orphan tables from WordPress database
Subscribe to our newsletter to get the latest updates to your inbox. Your email address is safe with us!
ConversionConversion EmoticonEmoticon