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

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.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *