Support » Networking WordPress » Point domain to multisite installed in subdirectory as if root

  • In order to keep previous site live during development we installed wpmu in a subdirectory of the root. ( It’s almost time to do live and I realized that the settings that normally allow you to redirect a WP install from a subdirectory to a root are not present in WPMU dashboard. If I have point the domain at the subdirectory where MU is installed it seems like I’ll have problems. Any suggestions on how to accomplish this?

    We used WPMU strictly to allow qTranslate. No intention to add any additional aites in this install.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You can’t.

    Currently Multisite will not work out of a subdirectory, like Single Site does. You have to move WP to root if you want it in root :/

    Can anyone point me to a resource that can guide me through moving Multisite to root? Since I won’t be adding new sites can I get away with pointing the domain name through DNS to the wordpress folder and changing htaccess to remove the subdirectory?

    ETA: You may be able to get away with the DNS change, but I don’t know anyone who tried (and documented) it.

    Thanks, I’m going to try DNS change. I’ll report results here.

    Okay, I pointed my domain at the subdirectory in which multisite was installed.

    Changed one line in htaccess:

    RewriteBase /wordpress/
    RewriteBase /

    Then changed lines in wp-config:

    $base = '/wordpress/';
    define('DOMAIN_CURRENT_SITE', '');
    define('PATH_CURRENT_SITE', '/wordpress/');


    $base = '/';
    define('DOMAIN_CURRENT_SITE', '');
    define('PATH_CURRENT_SITE', '/wordpress/');

    This results in the root domain are showing the home page but all subsequent links still go to the “wordpress” subdirectory. When I attemp to change ‘PATH_CURRENT_SITE’ to the root directory I get a database error.

    Does anyone have a suggestion on improving this. I’m not crazy about edit the db in MySQL but will try it if that’s what I need to do.


    define('PATH_CURRENT_SITE', '/wordpress/');

    Remove /wordpress, make it just /

    That gives me an “Error establishing database connection”. Is there a db fix required?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Point domain to multisite installed in subdirectory as if root’ is closed to new replies.