WordPress MU – Installation in a Sub Directory

Details of the errors

If you are installing WordPress MU in a sub directory and have an installation of WordPress running in the root of you Domain. You may run into a number of errors:
“There doesn’t seem to be a wp-config.php file. I need this before we can get started.”
And a button for Create Configuration File, if clicked nothing happens.

If you create a wp-config.php file you may see the following error.
“Problem in wp-config.php – $base is set to BASE when it should be the path like “/” or “/blogs/”! Please fix it!”

if you fix that error in your config file, it may follow up with this next error.
Warning! VHOST must be ‘yes’ or ‘no’ in wp-config.php

Once you are past that error you may see the following:
Error establishing a database connection

To fix this do the following:

  1. 1. Go to your root WordPress installation (or the one in the directory above it) and temporarily rename the wp-config.php file (i use wp-config-working.php).
  2. 2. If you created a wp-config file in your the sub directory for your new install remove it.
  3. 3. Then load the page for your new installation and you should get the simple configuration interface.
  4. 4. Once the installation is complete return to your root install and rename your config file back to wp-config.php.

Leave a Reply

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