WP_OneInstall

September 9th, 2008

WP_OneInstall is a free WordPress plug-in that helps you to configure one installation of WordPress to service many sites. Ruining many sites from one code base makes it easier to keep up to date with New Versions of WordPress , your plug-ins and themes, it also make setting up additional sites a lot easier.

Why not User muWordpress instead of WP_OneInstall?

muWordpress will allow you to share one code base between many sites, but it is really meant for multi user multi site and as such is more than you may need, WP_OneInstall is just a plug-in so you have 100% WordPress compatibility. muWordpress also does not support installation on IIS.

Installing WP_OneInstall

  • download WP_OneInstall.
  • Copy to your ‘wp-content/plugins‘ directory.
  • Log in with an administration account.
  • Select the ‘Plugins‘ tab.
  • Scroll down to ‘WP_OneInstall’ and click ‘activate‘.

Screenshots

Configure

Configure

What Next

Now that the central installation is ready to receive the new site there are just a few more things that might need doing.

  • make sure that the central installation has all the plug-ins you require form the old installation.
  • make sure it has the theme you require.
  • now re-point the old sites domain to point to the new central installation. How to do this depends on your ISP, so seek advice from them if you are unsure.
  • once you are sure the domain has transferred to the central installation. Test the site, if the old site was a different version you might need to upgrade the database,
  • it is now recommended you back up your database to save your new configuration
  • it should be now safe to delete you old installation.

Future Development

  • Implement secret definition
  • Ability to move tables.
  • Ability to select which site the plug-in can be run from.

Other Plug-ins

If you liked this plug-in visits our download area where you will find many more.

Bugs & Suggestions

If you have questions, have found any bugs, or you would like to see features added to WP_OneInstall please feel free to use the form at the bottom of the page to Contact us. If WP_OneInstall doesn’t fill your needs , feel free to Contact us to discuss a specially commissioned plug-in.

Show Your Appreciation

If you liked WP_OneInstall please:

You can also make a donation to Help support its development.


  1. May 11th, 2008 at 23:16 | #1

    Truth be told, I haven’t installed this yet, but I’m very much interested as this would fit perfectly for my own network of WordPress installs. One (important) question though: do all installations have to share the same design and widgets?

  2. May 11th, 2008 at 23:35 | #2

    @Jean-Paul - The data is kept completly separate, it is only the files that are shared. Which means that you can configure each site to use its own theme and its own set of widgets.

  3. victor
    May 12th, 2008 at 00:44 | #3

    Okay, I installed the plug-in and added an additional site “site 0″ (it is already running its own install of WP). Now what?
    Do I delete “site 0’s” original WP installation, or do I keep the “site 0’s” WP installation and this plugin just “takes over”?

  4. May 12th, 2008 at 06:22 | #4

    impressive. :) have been looking for this and i’m sure i’m not the only one, thanks for your work!
    will be giving it a run as soon as I can.

  5. May 12th, 2008 at 08:39 | #5

    @victor - don’t delete the other site till your sure evertying it setup right. What you need to do now is repoint the domain for site 0 to point to the shared installation. How you do this depens on you ISP. Once your sure the domain is setup corretly , it will be safe to delete the old site.

  6. DnD
    May 12th, 2008 at 11:00 | #6

    Okay, this plugin lisning very great, but where i find the shared installation?
    i try it with a subdomain, like test.whatever.net and i where i found now the new central installation? so that i can copy it and rename the domain on the right place?

  7. May 12th, 2008 at 11:43 | #7

    The shared/central installation is the installation you installed the plugin on. Just set the new domain to point to the same files as the domain that already points that installation.

  8. July 5th, 2008 at 23:16 | #8

    The shared/central installation is the installation you installed the plugin on. Just set the new domain to point to the same files as the domain that already points that installation.

    So, should the new domain be a sub-domain or should the new domain forward to the master install. I don’t understand what a typical setup looks like, maybe an example would help.

  9. July 5th, 2008 at 23:27 | #9

    @Geoff: The new domain can be either a sub domain or a new domain that is forwarded.
    for example:

    set the new domain fred to point to a server x.
    set the new domain jim to point to the same server x.

    whether you go to http://fred or http://jim you will get the same website.
    are you with me so far?
    Now install the plug-in and it will chose the database either fred or jim, and the website will work from different data.
    Does this clear it up for you?

  10. July 5th, 2008 at 23:35 | #10

    OKay, so same application files, but different database right?

  11. July 5th, 2008 at 23:39 | #11

    That’s right.

  12. July 21st, 2008 at 08:30 | #12

    I dont know how it works. Ive installed the plugin…how can i use ONE WP INSTALLATION with 2 WPs (default + test)? I cant reach the new user test….

  13. July 21st, 2008 at 13:29 | #13

    I’m not sure what you mean by can’t reach the user test?
    This plugins doesn’t deal with any users.

  14. August 2nd, 2008 at 22:43 | #14

    Hi,

    Great possibilities with this plugin! Thanks.

    I have a small problem: in the settings/reading there is usually the “front page displays”. not in the installation i did. so the front page is empty!

    i would be grateful if you could help me on this!

    thanks

  15. August 2nd, 2008 at 22:52 | #15

    @Jean-Pierre-
    I’m not sure what would cause this problem. I don’t see how the plugin would cause such a problem.

  16. August 2nd, 2008 at 22:56 | #16

    http://squarecabot.dare-dare.org

    i’ve tried with various themes. same problem all the time.

    i could give you a user name and pass if you would like to see the installation?

  17. August 3rd, 2008 at 00:03 | #17

    i fixed the problem… thanks for your time. will report back with comments if any.

  18. September 7th, 2008 at 20:24 | #18

    hi. Thanks for plugin

    cool.

    Regards

  19. Jed
    September 9th, 2008 at 03:38 | #19

    WOW! It solves the whole puzzle of Wordpress with multiple sites instead WPMU. WPMU designed for community blogging with limited support of themes and plugins not this one. I am so tired of maintenance for updates.

    One thing I want to see if the oneinstall plugin to appear only from one wp site to add others instead display on different sites. Let’s suppose if we have multiple sites being administrated by some individuals. Is there a way to not appear the plugin of oneinstall on others? Same thing with DESIGN so one wp site to administrate other sites’ design and plugins in the future.

    Congratulation! I ll be making the donation soon.

  20. September 9th, 2008 at 08:41 | #20

    @Jed-
    The plugin is just a setup tool, it can be removed once things have been setup and will not affect anything.

    Should you wish to leave it installed for later use, I don’t think there is a way to remove the plugin, but it should be possible to prevent it from working on certains sites. This feature will added to a future version.

  21. December 23rd, 2008 at 13:31 | #21

    Ok, I did everithing. But anything happened. I put the http://www.adilsondavilla.com.br url to run at the same folder the http://www.diegolopes.com.br/blog, and the last site is who open. What a should do now? Sorry my english, I am brazilian…

  22. December 24th, 2008 at 10:42 | #22

    Hi Diego,
    Did you get the url to point both urls to the same wordpress directory?

  23. January 9th, 2009 at 03:14 | #23

    Yes, to the same wordpress directory. But the both sites were whith content. I should to put a empty database to the adilsondavilla.com.br??

  24. January 18th, 2009 at 20:53 | #24

    NO, that will not be needed.
    No go into the options screen, and configure what site uses which database.

  25. January 25th, 2009 at 00:03 | #25

    Please, after I install this plugin my principal blog is with error in all of my posts, look http://www.diegolopes.com.br, click in one post

  26. January 25th, 2009 at 00:44 | #26

    The http://www.adilsondavilla.com.br is working all right, and when I don`t set this url at plugin my site works all right at thins url

  27. January 25th, 2009 at 00:46 | #27

    The adilsondavilla.com.br site whet set at plugin is not work all right too, the same problema persist

  28. January 25th, 2009 at 00:48 | #28

    At my webhost my principal url was point to public_html(www.diegolopes.com.br), but now is point to http://www.diegolopes.com.br/blog, the same url that adilsondavilla.com.br before I had a redirection html code at public_html directory

  29. January 25th, 2009 at 01:16 | #29

    Now adilsondavilla.com.br is point to public_html/blog and diegolopes.com.br point to public_html and the index is redirecting to diegolopes.com.br/blog.
    adilsondavilla.com.br is working all right, but diegolopes.com.br not. It enter the site but not at dashboard and the wp-admin is not acessing!!
    this is my last shoot, now is with you, please help-me!

  30. January 25th, 2009 at 01:31 | #30

    the http://www.diegolopes.com.br post enter normal but the css not is appearing, is very strange, it`s look css change

  31. January 25th, 2009 at 04:42 | #31

    Problem resolved hehehe thx, I resolved the problem put the permaliks in deafult, salved and after return the old permalinke that I would! sory my english, I am brazilian bye!

  32. January 25th, 2009 at 06:07 | #32

    Now the only problem I have is with the add new plugin page at the system, the serach box is not function and the tag cloud too… it`s not appearing

  33. January 25th, 2009 at 06:44 | #33

    oh oh, the problem persist, when I fix a permalink of one url the other into in error.

  34. RavanH
    March 7th, 2009 at 03:53 | #34

    Hi DCoda,

    Very curious about this plugin, I have one question: does it work on WP 2.7 or has that not been tested yet?

    If not, I will ;)

  35. March 7th, 2009 at 10:29 | #35

    It will work on 2.7

  36. RavanH
    March 9th, 2009 at 03:54 | #36

    I did run into a problem though…

    After setting up the first install with prefix codebase_ I proceeded with actiavting One Install. Then I configured a new site with the same database but anther URI (ofcource) and the new prefix (ofcource) solar_ … Then I accessed the install via the new URI and went the the installation process. The new database tables with the new prefix where created and the site works fine.

    Now the problem: when I go into the original site and look on the One Install > Configure page, I see that the new prefix solar_ is present in ALL the prefix fields instead of the actual prefixes codebase_ and solar_. If I go and create another site without manually setting the right prefixes for all existing sites, I get a big mess “Error establishing a database connection” !

    In wp-config.php, all prefixes are now solar_ except for the latest created site. :(

  37. RavanH
    March 9th, 2009 at 11:27 | #37

    OK, I found something related to my (above) issue. If I open up the edited wp-config.php, I see that the default switch option is placed last. All other configured sites are placed above it. The site with solar_ at the top…

    Now if I place the default one (codebase_ with prefix) at the top of the switch list, re-upload wp-config.php and then visit the OneInstall>Configure page again, all is back to normal ! :)

    Problem is I would have to edit wp-config.php every time after creating a new site…

  38. March 26th, 2009 at 10:44 | #38

    Helo my friend, I think I dicover because my plugin was problem. Its because my instalationis at blog folder, than the rewrite rule of my htacess stay:

    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]

    The rule of on site is causing problem to the other url. What I shoul to do? Thks!

  39. April 11th, 2009 at 12:22 | #39

    Helo, I got makes the plugin function. The problem was because my instalation was in a subfolder in this case /blog. Thks!
    But how many sites function with this plugin without affect the loading time page???

  40. RavanH
    April 13th, 2009 at 05:17 | #40

    DiegoLopes :
    Helo, I got makes the plugin function. The problem was because my instalation was in a subfolder in this case /blog. Thks!
    But how many sites function with this plugin without affect the loading time page???

    I think that depends on the server, not the WP installation. If it can handle a 1000 seperate WP installations, it should be able to handle a 1000 sites running on 1 WP installation (with WP_OneInstall) just the same. One thing though: you might want to prevent your database getting too large by defining a new database after so-many sites. My hosting provider limits each DB size to 100Mb but that might be totally different for yours.
    About the /blog / subdir problem: did you solve it by moving/intalling WP to the root (/) or did you do something else ?

  41. June 26th, 2009 at 11:32 | #41

    I fix the problem, now one of mine instalations is not witting the config file, but the file is 777 cmod on server…
    Someone here can tell me why?

  1. May 12th, 2008 at 06:31 | #1
  2. May 12th, 2008 at 14:10 | #2
  3. July 8th, 2008 at 16:35 | #3