Map old subdirectory blog to new multisite? (8 posts)

  1. jng
    Posted 4 years ago #

    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.


  2. 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.

  3. jng
    Posted 4 years ago #

    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?


  4. And there's no 'acceptable downtime'? Not even for an hour?

  5. jng
    Posted 4 years ago #

    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?


  6. Existing static folders maintain priority.

  7. jng
    Posted 4 years ago #

    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...

  8. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic