Hope somebody will be able to help… 🙂
I have created a master WP install — complete with plugins, options set up, etc., which I would now like to emulate on my other sites (I’m switching to WP).
The standard way would be to install the default WP package, upload all plugins, activate them, set up options, etc., etc…
However, the BIG problem with this is that if you have lots of sites, lots of plugins, and lots of customized options, it would take forever to do.
Is it possible to create a custom installation .zip that already comes with:
a) pre-loaded plugins — should be easy to do: simply put the plugins into the wp-content/plugins folder.
b) pre-defined options
b)1. WP — I understand WP stores most/all of the options in a separate MySQL table that it creates during installation. How do I “tell” WP which custom values to set up when creating this table?
b)2. Plugins — I figure this would have to be set up for each plugin separately by modifying the actual plugin files, correct?
Thanks in advance for your help!
Install WordPress somewhere. Dump the database to a backup file (use phpMyAdmin or whatever). Now go upload your custom install somewhere else (don’t run
install.php) and import the database backup. Change the two variables mentioned here and you should be good to go.
Thanks, Viper007Bond! 🙂
I am assuming this takes care of the pre-installed options — point b)1. in my initial post)
How about point b)2. (pre-defined options for plugins)? Is there any way to do this all at once, as opposed to setting up options for each plugin separately? Also, is it possible to have the plugins activated by default?
All the stuff is set in the database (what’s activated, plugin options, etc.). So, as I said, just install, configure, then export.
You’re basically moving WordPress without deleting the old location. 😉
- The topic ‘Creating custom installation .zip file’ is closed to new replies.