Multisite and tmp_multisite_constants.php

I had to comment out the following to successfully setup and install Wordpress Multisite on a remote server. Not sure if I missed something, or if this should be added to the instructions @ https://roots.io/trellis/docs/multisite/. Otherwise I’m getting an error about “MULTISITE already defined”.

# trellis/roles/deploy/files/tmp_multisite_constants.php

<?php
error_reporting(E_ALL & ~E_NOTICE);
// define('MULTISITE', false);
// define('SUBDOMAIN_INSTALL', false);
define('WPMU_PLUGIN_DIR', null);
define('WP_PLUGIN_DIR', null);
define('WP_USE_THEMES', false);

I think this is because we’re assuming that you’re not going to install WordPress remotely and instead import a database where everything is already configured/installed

I see. Normally I would do that, but I was just testing things out and did not try that. Thanks!

This topic was automatically closed after 42 days. New replies are no longer allowed.