4

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

2
  • Are you running all four sites on the same server? Commented Jun 22, 2011 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. Commented Jun 22, 2011 at 12:17

1 Answer 1

4

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.

1
  • Interesting. Does this mean all themes are still in one /themes/ directory? I'm assuming you literally mean running multiple sites from one directory but without the WP multisite-specific config. Commented Jan 10, 2017 at 13:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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