Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

We're currently running a multisite wordpress install for 4 sites. Running into problems with pretty much every plugin ever made (mostly issues with user account creation etc), I'd really like to switch over to 4 single installs. However, I'm wondering if the server resource usage will be significantly affected.

As far as I see it, the overhead of running the multisite management on top of these blogs outweighs any losses we would see from running them separately, especially when we're only talking about 4 sites. Can anyone offer some more insight here?

Thanks in advance

share|improve this question
    
Are you running all four sites on the same server? –  Azizur Jun 22 '11 at 11:43
    
Yes, but I figure it would be easier to split the DB if they're on separate sites anyway. As it is, we have a dedicated server for the web site, and another for the DB. –  James Bruce Jun 22 '11 at 12:17
add comment

1 Answer 1

You can use one installation for four (or more) singular sites without multi-site. Just point all domains to the same directory with your WordPress installation. In your wp-config.php set the necessary variables and constants depending on the currently requested host:

switch ( $_SERVER['HTTP_HOST'] )
{
    case 'example.com':
        $table_prefix   = 'ecom_';
        $table_name     = 'ecom';
        break;

    case 'example.net':
        $table_prefix = 'enet_';
        $table_name   = 'enet';
        break;
    default:
        $table_prefix  = 'wp_';
        $table_name   = 'wp';
}

You can change any constant or variable in the switch of course.

To make plugin updates easier let all installations share one plugin directory.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.