1. Home
  2. Smart Online Order
  3. Troubleshooting
  4. How to copy the clover data from development site to production site.

How to copy the clover data from development site to production site.

So far there is no option in plugin settings to export the data and import them to your new website or production website, but don’t worry you can copy all your data from a local development to a production website using only phpmyadmin. (BTW, we promise that we will add this feature later) .

To copy the clover cata

1- First of all install the plugin on the new website
2- Go to to phpmyadmin and navigate to the database of the old website or the development website
3- Export all table that start with {your_db_prefix}_moo_
4- Open the file and change old website URL by the new one (you can use notepad++, click on CTRL+F and choose replace tab)
4- Go to the database of the new website and import exported tables in step 3
5- Copy all images from old website to the new one using ftp, (images are stored here /wp-content/uploads/), don’t forget to respect the some folders hierarchy (year/month)
6- All finished –

For the plugin settings you can just re-enter them on the new website or follow the next steps if you want move them also.

To copy the plugin setting (optional if you want re-enter the settings manually )

1- On the old database execute the query :
SELECT option_value FROM `wp_options` where option_name = 'moo_settings'
change wp by your prefix
2- Copy the result of the previous query and execute this query on the new database (database of the production website)
update `wp_options` set option_value ='old_value' where option_name = 'moo_settings'
change old_value by the text you copied in previous step

Great, you finished all steps and now all clover data and plugins settings were copied to your new website

There are some images for more details

Was this article helpful to you? Yes No

How can we help?