Support » Networking WordPress » Map old subdirectory blog to new multisite?

  • Hi there, I was wondering if anyone can help me.

    I used to have multiple copies of wordpress installed, each with own install, database, etc. for example:

    I have finished importing one of them into a new multisite install located here:

    and so the new URL for the first one is like this:

    How do I setup a mod_rewrite, so that my old URLs run from the newer install? For example
    is the same as:

    I prefer to keep the first URL structure without “wordpress” because that is how my older ones were.


Viewing 7 replies - 1 through 7 (of 7 total)
  • This is not really advisable.

    Can you move the multisite install out of the /wordpress/ directory into the root? Multisite builds the URLs based on where it’s installed.

    Hi Andrea_r,

    unfortunately not. It is a very large website that is now 13 years old and I need to maintain the existing static file structure for the client too.

    Can anyone help me?


    And there’s no ‘acceptable downtime’? Not even for an hour?

    Hi Ipstenu,

    we can accept downtime, but I have folders, etc. in root directory that I need to keep working.

    If I move wordpress out into the root, I am afraid those mod_rewrite rules would mess up my static directories.

    What would you suggest I do?


    Existing static folders maintain priority.

    What about old URLs?

    I have some that look like this:

    From as far back as 2005…

    They currently only work like this with the multisite install

    And I still need those old URLs to work. So I need a mod_rewrite code for that anyway…

    The first idea that comes to mind is to edit the site names.

    Change site-resources to ‘site’ and then change THOSE permalinks to /resources/YYYY/MM/DD/Postname

    Ditto art-history

    Once the layout is right EXCEPT for the /wordpress/ bit, move everything into root, search the DB for /wordpress/ and replace with /, make sure you edit the wp-config.php and the .htaccess and Bob’s your uncle 🙂

    THAT I’ve done before. Worked fine. The ‘move’ took all of an hour and most of that was stopping to answer a weird phone call.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Map old subdirectory blog to new multisite?’ is closed to new replies.