Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/robertdevore/metadata-import-export-for-yoast/releases/download/1.0.0/metadata-import-export-for-yoast.zipMetadata Import/Export for Yoast is a WordPress plugin that enables you to seamlessly import and export Yoast SEO metadata using CSV files.
It's perfect for bulk editing SEO metadata or migrating SEO settings between WordPress® sites.
Features
- Import Yoast SEO Metadata: Bulk import SEO metadata from a CSV file.
- Export Yoast SEO Metadata: Export your site's SEO metadata to a CSV file for backup or bulk editing.
- Custom Post Type Support: Choose which post types to include in import/export operations.
- User Role Access Control: Define which user roles have access to the plugin's functionalities.
- Settings Page: Configure plugin settings according to your needs.
- Progress Indicators: Visual progress bars during import and export processes.
- Detailed Statistics: View comprehensive stats after import/export operations.
Installation
From the WordPress® Dashboard
- Download the Plugin: Get the latest version from the GitHub repository.
- Navigate to Plugins: Go to
Plugins>Add New. - Upload Plugin: Click on
Upload Pluginand select the downloaded ZIP file. - Install and Activate: Click
Install Now, thenActivate.
Manual Installation
- Download and Unzip: Download the plugin ZIP file and unzip it.
- Upload to Server: Upload the
metadata-import-export-for-yoastfolder to the/wp-content/plugins/directory. - Activate Plugin: Activate the plugin from the
Pluginsmenu in WordPress.
Usage
Accessing the Plugin
After activation, the plugin adds a new submenu under the Yoast SEO menu:
- Navigate to
SEO>Import/Export.
Importing Metadata
- Navigate to Import Tab: Go to the
Importtab within the plugin page. - Upload CSV File: Click
Choose File, select your CSV file, and ensure it follows the required format. - Start Import: Click
Upload and Import. - Monitor Progress: A progress bar will display the import status.
- Review Results: Upon completion, view the import statistics and any error messages.
Exporting Metadata
- Navigate to Export Tab: Go to the
Exporttab. - Start Export: Click on
Export Metadata. - Monitor Progress: A progress bar will display the export status.
- Download CSV File: Upon completion, a download link for the CSV file will be provided.
Configuring Settings
- Navigate to Settings Tab: Go to the
Settingstab. - Select Post Types: Choose which post types to include in import/export operations.
- Select User Roles: Define which user roles can access the plugin.
- Save Changes: Click
Save Changesto apply your settings.
CSV File Format
Your CSV file should have the following headers in this exact order:
- ID: The unique ID of the post.
- Post Type: The type of post (e.g.,
post,page). - Slug: The slug of the post.
- Keyphrase: The focus keyphrase for SEO.
- SEO Title: The SEO title of the post.
- SEO Description: The meta description for SEO.
Example CSV Content
```
ID,Post Type,Slug,Keyphrase,SEO Title,SEO Description
1,post,hello-world,"Hello World","Welcome to My Blog","This is the first post on my blog."
2,page,about-us,"About Us","Learn About Us","Find out more about our company."
```
Permissions
By default, only administrators have access to the plugin. You can extend access to other user roles via the Settings tab.
Frequently Asked Questions
Does this plugin support custom post types?
Yes, it supports any public custom post types. You can select which ones to include in the Settings tab.
Can I schedule imports or exports?
Currently, the plugin does not support scheduled operations. Imports and exports are initiated manually.
Is there a limit to the number of posts I can import or export?
While there is no set limit, very large datasets may lead to performance issues. It's recommended to work with datasets that your server can handle efficiently.
What happens if the CSV file has incorrect data?
The plugin will attempt to import valid data and skip invalid entries. Error messages will be displayed after the import process.
Contributing
Contributions are welcome! Feel free to submit issues or pull requests 🤘
License
This plugin is licensed under the GNU General Public License v2.0 or later.
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.