• hello

    I need to move blogs from a WordPress MU 2.8.4 configured in subdir to a WordPress 3.0.5 configured in subdomain . I blindly export in xml from WPmu2.8.4 and then imported (thanks to wordpress-importer.0.4.zip plugin) that xml file on a freshly created empty new site (blog) on 3.0.5. Import process seemed to be fine, but unfortunatly I don’t see any post, articles etc … after the import. I suspect that the subdir to subdomain move didn’t worked as expected.
    can I use export / import WP tools, or I need to go deeper in the database and files (I have root access to both server) .

    is this the correct doc to start ?
    http://codex.wordpress.org/Moving_WordPress
    apparently it doesn’t talk about moving from subdir to subdomain
    what can be wrong ?

    thank for your help .

Viewing 11 replies - 1 through 11 (of 11 total)
  • Import process seemed to be fine, but unfortunatly I don’t see any post, articles etc … after the import.

    Then the import is not fine.

    is this the correct doc to start ?
    http://codex.wordpress.org/Moving_WordPress
    apparently it doesn’t talk about moving from subdir to subdomain

    That’s not the article you’re looking for. You’re moving *content* – not the whole install.

    You could just upgrade the old WPMU install in steps to the latest wordpress. And THEN you could switch the kind of install you have but with existing sites, it’s a load of work.

    Go to your newer install and make a new site. Does it work?

    Thread Starter jehanproc

    (@jehanproc)

    I don’t want to upgrade the old WPMU, it needs to keep running as is …

    I did created a new site in the new WP (3.0.5) , but how can I move content from the old to the new . I though that export from old then import (xml file) in the new site was the way to go , isn’t it ?
    that’s what I did, unfortunatly after the import no content appears in the new site. I suspected that it was because the export was made on a subdir WP, whereas the new site is on WP based on subdomain … but maybe I am wrong ? what is the best way to move content in my case:
    “blogs from a WordPress MU 2.8.4 configured in subdir to a WordPress 3.0.5 configured in subdomain” .

    Thanks .

    I suspected that it was because the export was made on a subdir WP, whereas the new site is on WP based on subdomain … but maybe I am wrong

    If you;re using the internal export, the format of the blogs does not matter.

    You need to figure out why it’s not showing posts. Look at the export file. Are there posts in it?

    The best way *is* the export file – like you are doing. But the problems you have “after the import no content appears in the new site. ” has to be fixed.

    Like, give us a link to the site.

    And are the posts listed in the admin area of the new site?

    I asked if the new sub site work – you said you created a new site, but you didn’t say if it was actually working properly before you imported content. There’s a default post created on new sites. Can you see it?

    Thread Starter jehanproc

    (@jehanproc)

    thanks for the hint to look a the xml file.
    indeed , only one post out of 10 was there in the export file !?
    maybe a problem of file size somewhere ..
    I did it again (on site instead of offsite through ADSL box …) and it worked better.
    there’s still a problem about files upload, for example at the end import process I received:

    Import WordPress
    Failed to import Media “photo.png”
    Failed to import Media “article-de-mi-kun.pdf”
    Failed to import Media “la-vie.pdf”

    I manage to copy those file from old blogs to new one

    [root@oldblogs /vservers/blogs2/var/www/html/blogs/wp-content/blogs.dir/11/files]
    $ scp -r * root@blogserver:/var/www/html/wp-content/blogs.dir/5/files/

    but I still have to manually correct links to the files in the new blog

    <a href="http://blogs.it-sudparis.eu/blogs/chine/files/2008/10/la-vie.pdf" title="la-vie.pdf">la-vie.pdf</a>

    to

    <a href="http://chine.wp.it-sudparis.eu/files/2008/10/la-vie.pdf" title="la-vie.pdf">la-vie.pdf</a>

    fastidious, but it works.
    thanks .

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    but I still have to manually correct links to the files in the new blog

    <a href="http://blogs.it-sudparis.eu/blogs/chine/files/2008/10/la-vie.pdf" title="la-vie.pdf">la-vie.pdf</a>

    to

    <a href="http://chine.wp.it-sudparis.eu/files/2008/10/la-vie.pdf" title="la-vie.pdf">la-vie.pdf</a>

    You could have done that on the import, actually. After you exported the xml file, you could have search/replaced one foe the other.

    Thread Starter jehanproc

    (@jehanproc)

    Ok, thanks for the tip, indeed I would rather change globally within the xml file URL before importing .

    One more request . Is there a way to import users also ?
    On some blogs there are dozens of contributors, authors, how can I export then from the old one and import them to the new WP plateform.

    I don’t see a native export/import tool for users in WP !?
    shall I use a plugin ? something like this :
    http://wordpress.org/extend/plugins/wp-export-users/
    is their a better one, or a better solution ?

    Thanks .

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Ugh. Users. That’s going to be a nightmare.

    You know… I know you want to keep the old WPMU but what about duplicating it. Make a copy of the database, and the files, move it to the new location, upgrade the copy, and then change it to subdomains?

    Otherwise no matter what you do, you’re going to lose the user passwords :/

    Thread Starter jehanproc

    (@jehanproc)

    I don’t want to duplicate my old WP, because the new one uses federated Identity (shibboleth federation + SSO http://wordpress.org/extend/plugins/shibboleth/) and it’s kind of a hard work creating an extra shibboleth Service Provider .

    The positive thing on shibboleth SSO is that I don’t care about user passwords, they out of the WP database.

    What i need now is a way to export at least username (+email adress) from the old one, and import then on the new one, I don’t care about userId numbers because apparently when importing the XML of posts, pages etc … the import process allows my to match old users to new ones.
    The thing is here to have a least the username be created in the new blog in order to match them to the XML file .

    So , still no appropriate native or plugin to export them import usernames ?

    Thanks.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    shibboleth … heh. Heh. Sorry, I’m going to be giggling about that for a while.

    When you import the posts, it SHOULD bring the authors over. But it doesn’t retain the per-use info like email etc, that I’m aware of.

    Thread Starter jehanproc

    (@jehanproc)

    very good that http://www.xkcd.com/806/ webcomic , didn’t know about it , are you one of these geek tech support 😉

    post import comes with its associated authors, but then the import process (step2 as far as I can remember) allows me to match authors to current users of the new WP site. unfortunatly I don’t have all users present and associated to the WP site a that time, That’s why I need to import users before import . I’am afraid there is no magic and simple solution, unless the native export + import tools manages users creation at post import time .

    Thanks for your help .

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    unless the native export + import tools manages users creation at post import time

    Which it might. It’s been a while since I played with that…. I’d try it. I mean, if it doesn’t, then you know :/

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘moving from subdir to subdomain on new server’ is closed to new replies.