Support » Networking WordPress » Running multisite off root, when install in subfolder

  • I have a functioning WordPress Multisite with 2 Blogs – for different language versions, as subdomains: and There is an “old” website sitting in root (, which is the main reason, why I installed WordPress in a sub-folder. Now, I understand that I cannot run a Multisite with subdomains off root. The way I imagine that it might work, is one of two possibilities:

    1. a permanent redirect in root, to point to the wordpress installation
    2. copying WordPress files into root, adjusting the database tables

    I am not sure, if the second option is really feasible (but I would prefer that over the redirect), has anybody tried to do this, and what do I have to be aware of and keep in mind?

    If push comes to shove, I can clean out the old site and install WordPress there, set up multisite and all plugins etc. Now, if I point it to the database holding all information related to the present (subdomain) installation, could that possibly be made to work? What would I need to do, to get it working?

    Or, are there other possibilities that I have not thought of?

    We are within one week of going live with the site, so starting all over is not really an option.

    Any input, advice, help is appreciated.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    You keep typing subdomains when I think you really mean subfolders, correct?

    I woudl move everything up into the root. Yeah, it;s gonna take some grunt work fixing links in the db, but it’ll be worth it going forward.

    Thanks Andrea, yes, you are correct. WordPress is sitting in a subfolder.

    OK, so I know, I need to fix the two URLs in the wp-options table, but I have no idea about what needs to be tidied up in relation to the multisite. As far as links within the two blogs of the multisite are concerned, I have pretty much taken care, so links are of the bloginfo (‘siteurl’) or bloginfo (‘template_directory’) type from the start, so those should not give me too many headaches.

    So, if you could point out, which other tables in the database I need to look into and fix?

    Thanks again.

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Honestly, I just go into phpmyadmin and do a search for the old location. That’ll show you the ones you’ve missed.

    Andrea, thank you again.

    Now, as far as wp-config.php is concerned, I have these two lines, where I am not certain, if they can stay:

    define( 'SUBDOMAIN_INSTALL', false );
    $base = '/my-subfolder/';

    I am not sure, so, if you could help me with that?

    Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    Remove the $base line. If you’re not in the subfolder anymore, you don’t need it.

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Actually, it should be

    $base = '/';

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Running multisite off root, when install in subfolder’ is closed to new replies.