Following our update early this year, we are bringing you another update this week with our Smart SEO CSV Import/Export Suite for WordPress.
Our second biggest update so far this year is now out and is packed with new features and improved action hooks and filters so you can customize your SEO data export and import needs.
New Feature: Rank Math, SEOPress, and The SEO Framework are now fully supported
Apart from Yoast SEO and All-In-One SEO Pack, Smart SEO CSV Import/Export Suite now works well with Rank Math, SEOPress and The SEO Framework. Both SEOPress and Rank Math SEO are increasingly popular freemium plugins that are easy to use with neat user interface.
With this update, you can now export all your SEOPress meta data into CSV for bulk editing. Once done, you can quickly update your Rank Math / SEOPress / The SEO Framework meta titles and descriptions in bulk by importing a CSV.
New Filters: smart_seo_export_title & smart_seo_export_desc
With this update, we’re introducing two more filters smart_seo_export_title and smart_seo_export_desc. These filters let you manipulate SEO meta title and description before finally appending it to CSV during export.
When is it useful?
Smart SEO CSV Import/Export Suite normally exports user-defined SEO meta titles and descriptions. Which means if there’s no custom SEO titles and descriptions being defined on each post/page, there’s nothing to export and you’ll be seeing empty seo_meta_title or seo_meta_description column.
Here’s a sample Cart page with no user-defined SEO title and description:
Your exported CSV’s seo_meta_title column will normally be empty:
With smart_seo_export_title filter, you can tell WordPress to return something… maybe the default SEO title being globally set by Yoast SEO. Here’s usage example:
Here’s our updated exported CSV:
The seo_meta_title column now contains Yoast default’ titles, but they’re all template variables. Now, if you want to export a more readable version, you can even slightly modify your smart_seo_export_title filter, as follows:
The above script returns this more readable version:
Please note the above examples are for Yoast SEO. You too can do similar manipulation on All-In-One SEO or SEOPress. Both filters’ callback accepts two parameters: SEO $title (or $desc) and $post object.
Improved: smart_seo_export_fields filter
We are re-working smart_seo_export_fields filter to give you more control what and how every bit of data is extracted. Not only can you export additional custom fields but now you can also surgically extract virtually any data associated to a specific post.
See usage example from our docs to see how you can best exploit this filter.
We continually push incremental updates to this plugin so you can expect more enhancements in the future. Feel free to get in touch if you have feature requests or have something in mind to make it even better.