• In order to keep previous site live during development we installed wpmu in a subdirectory of the root. (http://an-animation.com/wordpress/). 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)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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 :/

    Thread Starter jhauer

    (@jhauer)

    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?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite

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

    Thread Starter jhauer

    (@jhauer)

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

    Thread Starter jhauer

    (@jhauer)

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

    Changed one line in htaccess:

    RewriteBase /wordpress/
    to
    RewriteBase /

    Then changed lines in wp-config:

    $base = '/wordpress/';
    define('DOMAIN_CURRENT_SITE', 'www.an-animation.com');
    define('PATH_CURRENT_SITE', '/wordpress/');

    To

    $base = '/';
    define('DOMAIN_CURRENT_SITE', 'www.an-animation.com');
    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    This:

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

    Remove /wordpress, make it just /

    Thread Starter jhauer

    (@jhauer)

    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.