How to Migrate Super Page Cache Settings Across WordPress Sites
Introduction
Migrating Super Page Cache settings between WordPress sites can save time and ensure consistency across your projects. Whether you’re setting up a staging environment, replicating configurations on a new site, or managing multiple websites, this process helps maintain optimal caching performance with minimal effort. This guide provides a step-by-step walkthrough to migrate Super Page Cache settings effectively.
📝 Note: In order to import/export settings between two sites, please check if you have enabled the Show Advanced settings.
1. Export Settings from the Source Site 📤
- 1
- Log in to the WordPress Dashboard of the site you wish to export the settings from.
- 2
- Navigate to Settings > Super Page Cache in the WordPress menu.
- 3
- Locate the Import/Export Settings section within the plugin's Advanced settings page.
- 4
- Click the Export Settings button.
-
This will download a swcfpc_config.json
file containing all the configuration details of the Super Page Cache plugin. Save this file securely, as it contains the configuration data you will import to the target site.
2. Import Settings to the Target Site 📥
- 1
- Log in to the WordPress Dashboard of the site you want to apply the settings to.
- 2
- Navigate to Settings > Super Page Cache.
- 3
-
Locate the Import/Export Settings section within the plugin's Advanced settings page.
- 4
-
Copy and paste the content of the previously exported
swcfpc_config.json
file in the text field. - 5
- Click Import Settings to apply the configuration.
-
The plugin will automatically update its settings to match those in the imported file.
📝 Note: Please note that after following this process, you will have to re-connect your Cloudflare account as the account gets disconnected when you overwrite the settings using the JSON file.
3. Verify Configuration on the Target Site
- 1
- Review the Super Page Cache settings to confirm the expected configuration.
- 2
- Test the caching functionality by visiting a few pages on the target site and verifying their cache status.
By following these steps, you can easily migrate Super Page Cache settings across WordPress sites, saving time and ensuring consistency.