WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating custom installation .zip file (5 posts)

  1. Miroslav
    Member
    Posted 7 years ago #

    Hi everyone,

    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!

    Miroslav

  2. 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.

  3. Miroslav
    Member
    Posted 7 years ago #

    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?

  4. 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. ;)

  5. arphaus
    Member
    Posted 7 years ago #

    How does this affect ch-modded files? Do they retain their properties, or must that be reset on the server?

Topic Closed

This topic has been closed to new replies.

About this Topic