Import / Export for Theme Settings not working
-
I am moving a site from a development server to production server. I cloned the whole mysql and all wp-content, but when I load it the Woodmart theme customizations I did were not transferred – it’s just default
I have also tried copy/pasting the json export from the staging to the Import area on the production, but nothing is working. When I click “Import” it goes to admin/options.php and nothing has been changed.
Any ideas of how I can make this work?
Hello,
If the import sends you to <strong>options.php</strong> and nothing changes, the server is probably blocking or cutting off the request. Please ask your hosting provider to raise the PHP <strong>max_input_vars</strong> value to 10000 or higher. Also ask them to check whether Mod_Security is blocking the request, and to whitelist it or turn it off for a moment while you test. Then try the import again from Dashboard -> Theme Settings -> Import / Export / Reset.
You can also try this: on the production site, go to Dashboard -> WoodMart -> Theme settings backup and see if any backups were copied over with the database. If you find one, click Apply to restore it. More details are here: https://woodmarttheme.com/docs/theme-settings-backup/
Best Regards,
Hey Aizaz thanks for the reply. I will check that out with the hosting co.
I wonder why it didn’t just keep my settings exactly from the original site, since I imported the SQL file.
Hello,
You’re welcome. A database migration should normally carry the theme settings over, but small differences between the two servers can sometimes stop them from loading. Once you’ve checked with your hosting provider, please try the import again and let us know the result.
Best Regards,