Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import/Export Plugin Settings for Wordpress

How do I import/export the settings for multiple Wordpress plugins from one site to another? Preferably throught the Wordpress UI.

like image 659
Sam Avatar asked Oct 19 '25 09:10

Sam


1 Answers

You can not.
Each plugin have your own type of configurations and only with a export and import of a mysql database can pass your settings to another site.

After export and import run this query:

UPDATE wp_options SET option_value = replace(option_value, 'http://__www.old-site.com__', 'http://__www.new-site.com__') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = replace(guid, 'http://__www.old-site.com__','http://__www.new-site.com__');
UPDATE wp_posts SET post_content = replace(post_content, 'http://__www.old-site.com__', 'http://__www.new-site.com__');
like image 198
squiter Avatar answered Oct 22 '25 06:10

squiter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!