Title: Multiple blogs, one install?!
Last modified: August 18, 2016

---

# Multiple blogs, one install?!

 *  [torsblog](https://wordpress.org/support/users/torsblog/)
 * (@torsblog)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/)
 * Hi all,
 * I’ve downloaded the latest version of WP and have a question before I begin the
   installation process, a question which I have yet to find an answer.
 * Basically I would like to create numerous blogs, each correlating to a different
   interest of mine. I have the domain [http://www.blo-gs.com](http://www.blo-gs.com)
   which I am wanting to use for this. So basically each blog would be something
   like; [http://www.blo-gs.com/blog1/](http://www.blo-gs.com/blog1/) [http://www.blo-gs.com/blog2/](http://www.blo-gs.com/blog2/)
   [http://www.blo-gs.com/blog3/](http://www.blo-gs.com/blog3/) etc… The more important
   of my blogs will have their own domain name, e.g. [http://www.blog1.com](http://www.blog1.com)
   [http://www.blog2.com](http://www.blog2.com) etc…
 * So, my question is this… How would I configure my WP so that I’m able to achieve
   the above? Any info you could give me would be most appreciated, esp. if it were
   in “idiot proof” format!
 * I wish you well.
    Tor…

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619464)
 * You don’t configure anything.
    You MUST install WP as many times as many blogs
   you want. [http://codex.wordpress.org/Installing_Multiple_Blogs](http://codex.wordpress.org/Installing_Multiple_Blogs)
 * EDIT. If you need a zillion blogs – you may consider the MU (multiuser) version:
   [http://mu.wordpress.org](http://mu.wordpress.org)
 *  Thread Starter [torsblog](https://wordpress.org/support/users/torsblog/)
 * (@torsblog)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619470)
 * Thanks for that Moshu. I do not want to have many installations of WP taking 
   up space. I’ve heard that there was a way in which to utilize one install, creating
   multiple blogs in the process.
 * As with MU, for my current level of technical expertise it’s a little too complicated
   for me. I’ve looked and am unable to get my head around it. I’ll see if there’s
   an answer on the MU forums.
 * I wish you well.
    Tor…
 *  [tomkinsg](https://wordpress.org/support/users/tomkinsg/)
 * (@tomkinsg)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619635)
 * It is possible to have multiple sites serviced from a single wordpress installation
   and it is very easy to do.
 * i find it very desirable – makes life a lot lot easier. You just have to be careful
   when upgrading since you are upgrading multiple sites in one go, but that is 
   pretty easy to accomplish if you give it some thought, get a solid backup and
   test your deployment process.
 * The simplest way is a switch in wp-config.php that sets the $table_prefix based
   on, in this case, the domain name. This is an example …
 * switch ($_SERVER[‘HTTP_HOST’]) {
    case “www.mydomain1.com”: case “www.mydomain2.
   com”: case “subdomain.mydomain2.com”: $table_prefix = ereg_replace(‘^(www\.)’,”,
   $_SERVER[‘HTTP_HOST’]); $table_prefix = ereg_replace(‘\.’, ”, $table_prefix);
   $table_prefix = $table_prefix . ‘_’; break; default: $table_prefix = “default_’;}
 * change the domain and also change the prefix for the default.
 * the use of the switch and the entering of the list of domains ensures that no
   domain other than your domains can be directed to and use your wordpress installation.
   Otherwise i dread to think what some maliciously minded person could do with 
   your sites. 🙂
 * hope this helps
    Glyn
 *  [jonwise80](https://wordpress.org/support/users/jonwise80/)
 * (@jonwise80)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619636)
 * For interests sake, and because I searched here when trying to do this, its also
   possible to share one set of tables between multiple blogs. This might be useful
   if you want to gear a different ‘version’ of your blog toward different devices:
   
   I documented the steps I took, once I figured it out. Check it out here: [http://software.jonandnic.com/hack/wordpress-hacking-multiple-blogs-on-one-set-of-tables-2](http://software.jonandnic.com/hack/wordpress-hacking-multiple-blogs-on-one-set-of-tables-2)
 *  [tomkinsg](https://wordpress.org/support/users/tomkinsg/)
 * (@tomkinsg)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619655)
 * I’ve subsequently split my installations apart. Reason being there are flies 
   in the filesystem that wordpress writes to – namely .htaccess (there maybe others).
   As a result, you can get errors if you are on one blog and take action that writes
   the .htaccess file – it can break the other blogs.
 * I am getting more Linux savvy so wrote a couple of scripts that help me out. 
   I upload themes and plugins to one central master copy then run the cgi script
   from SSH and it deploys the themes and plugins to all the installations in one
   go. I also maintain a master wp-config.php for all my sites and have a simplar
   script that deploys it everywhere.
 * An alternative would have been to remove write access from .htaccess but I figured
   that I didn’t really like all my production web sites in one location – i was
   having to do too much testing when i upgraded then all in one go.
 *  [erick_paper](https://wordpress.org/support/users/erick_paper/)
 * (@erick_paper)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619656)
 * To original poster:
 * WordPress is simply not designed to allow to run many blogs. Yeah, I know, this
   is quite a gaping design flaw and a very annoying one, but WordPress MU community
   is trying to solve it. Don’t believe everything you read on MU’s front page though;
   there are a lot of plugins that simply don’t work on MU because the innards are
   so different.
 * If you want unlimited blogs from the same install, just get Movable Type and 
   spend your time learning it.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619657)
 * _If you want unlimited blogs from the same install, just get Movable Type and
   spend your time learning it._
 * or dont, and use b2evolution, WordPress’ cousin.
 *  [erick_paper](https://wordpress.org/support/users/erick_paper/)
 * (@erick_paper)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619659)
 * Can b2evolution run WP plugins? I know they’re “cousin” projects, but how closely
   related are they?
 *  [erick_paper](https://wordpress.org/support/users/erick_paper/)
 * (@erick_paper)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619660)
 * Tomskinsg, do you have a set of instructions somewhere? This sounds like a really
   useful thing!
 * Also:
 * 1. Is this is only for multiple blogs on the *same* domain? I’d like one centralized
   install and run many domain blogs from it as in [http://mu.wordpress.org/forums/topic.php?id=3664&page&replies=16](http://mu.wordpress.org/forums/topic.php?id=3664&page&replies=16)
 * 2. When you run blogs this way, do plugins work? For example, where would WP-
   SuperCache save its files?
 * Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Multiple blogs, one install?!’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [multiple](https://wordpress.org/support/topic-tag/multiple/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 6 participants
 * Last reply from: [erick_paper](https://wordpress.org/support/users/erick_paper/)
 * Last activity: [18 years, 3 months ago](https://wordpress.org/support/topic/multiple-blogs-one-install/#post-619660)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
