The MU forums have moved to WordPress.org

Moving the main blog (plus children blogs) one level up (to root...) (4 posts)

  1. cospefogo
    Member
    Posted 13 years ago #

    Gentlemen,

    I am pretty familiar to classic Wordpress and I have been moving a single install to other locations with absolute success, just dealing with the permalinks and the .htaccess file. But now I need to do the same on a WMPU install! Got some progress... but some problems as well.

    To shorten the story - I can't install the WPMU (Mother blog + few children blogs) right on the root of my web service because I have already something running there - something I can't shutdown at the moment.

    So, my plan is to install the WPMU inside a /wpmu directory, create the blogs, populate the contents, etc... and when everything is done --- migrate it alltogether one level up, to the root.

    Where it is:
    http://www.exemple.com/wpmu/
    http://www.exemple.com/wpmu/blog1
    http://www.exemple.com/wpmu/blog2
    http://www.exemple.com/wpmu/blog3

    Should become, in the end:

    http://www.exemple.com/
    http://www.exemple.com/blog1
    http://www.exemple.com/blog2
    http://www.exemple.com/blog3

    I already made the ROOT blog work, using the same procedure as the single WP .htacess/permalinks method (moving the index.php one level, up, adjusting the index.php internals, etc). But I don't know what to do with my children blogs!

    On a first glance --- What I am trying to accomplish IS POSSIBLE TO BE DONE? Or I really do need to put everything on the root right from the beginning?

    Thanks, guys.
    Regards to you all.
    Cospefogo.

  2. cospefogo
    Member
    Posted 13 years ago #

    Well... Answering myself - and possibly helping some newcomers with a similar doubt - there is no solution or workaround for what I am looking for.

    After checking this topic -> http://mu.wordpress.org/forums/topic/13194 <- and specially after reading some Andrea's word (described below) there is no way to accomplish such severe modification on the WPMU install.

    Andrea's: "Right now, you can't do that in MU, as it would involve far too many rewrites & redirections. At least that's what I think. Given all the sub-blogs are off the main blog, you have to wrangle that redirection for every sub-blog as well, not just the main - because the subs relate to the main. And all that redirection would be pretty impossible on anything but a dedicated server, thus limiting the program's use. (...)"

    Andrea's: "(...) If WPMU is installed at mydomain.com/wordpress/, and you pick subdirectories, you'll get mydomain.com/wordpress/myuserblogs/. No, there's not really any way around that. "

    I think I will try to populate my blogs as maximum as possible on my localhost and later work on a full SQL export/import on the server PhpMyAdmin. Let's see what happens!

    Well, that's it fellows!
    Thanks for your attention!
    Cospefogo.

  3. andrea_r
    Moderator
    Posted 13 years ago #

    ... can't be done unless you want to rewrite all the URL's in the database.

    is wordpress itself in the root right now?

  4. cospefogo
    Member
    Posted 13 years ago #

    My actual single WP is not on the root, it is on a directory, one level down. However, I have my home (.htacces/permalink/index.php) in the root.

    As I told I was planning to add WPMU to a one level down directory (avoiding this away any interference to the index.php root for the single WP) and later change it to run on the root... but this can't be done.

    Also, I remembered exactly the trouble I had in the past when I tried to move the real files (core, etc) of a single WP one level up to the root and the sky fell over my head. In the end - it could be accomplished, but it was needed to rewrite all the URL's in that database (all img mentions)! Fortunately I did learn the correct way to perform such operation in WP single, right on the admin panel.

    Getting back to the WPMU subject, this is what I am doing:

    I have 5 big categories in my WP-Single. I am exporting 5 batches of XML's (thru advanced export plugin) and re-importing them as 5 different blogs. Also, the XML contents point all image links to the
    real path (http://www.bla.com/wp-single/wp-contents/uploads...), path that WILL NOT BE removed from the server, so no problems at all with images in posts.

    Do you think that - if I install WPMU to a directory and just import my XML's there - and later move the real files (core, etc) one level up I will need to do manual labor of URL's in the Database? Since none of my XML's point to relative paths (all point its images to http://myserver/...) I think there will not be problems related on the core movement.

    Please note - I will no be posting through admin panel at any moment. I plan to start posting only after the exporting/importing thing gets done. I will only be creating PAGES and adjusting slugs and categs on the admin.

    Woow, sorry for too much text.
    Thanks!
    Cospefogo.

About this Topic

  • Started 13 years ago by cospefogo
  • Latest reply from cospefogo