WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Migration from wordpress.org (14 posts)

  1. tehnotronix
    Member
    Posted 1 year ago #

    Hi,
    I'm banging my head against the wall here, helping a friend install a site and migrate away from the wordpress hosted one.
    Installation works great (first tried 3.5 and then 3.4.2).

    Afterwards when trying to migrate things don't work anymore! (export xml from wordpress hosted site, upload to new site. i even tried splitting the xml)
    I upload the xml, choose new users and usually it does not show any result (failed/works), it just stops loading the page which is blank.

    It shows me that everything is migrated posts, comments etc on the dashbord but things don't add up: I have a lot of 'unattached' images and also images inside posts are merely links to the old site.

    You can check the new site here.

    Any suggestion?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    How large is the .xml file?

  3. tehnotronix
    Member
    Posted 1 year ago #

    Hi esmi,
    The file is 9.5 Mb. I also tried splitting it and making separate imports (5 files) but it is the same thing.

    thanks,
    t

  4. esmi
    Forum Moderator
    Posted 1 year ago #

    I think you may need to cut it down into more than 5 smaller files.

  5. tehnotronix
    Member
    Posted 1 year ago #

    could you let me know what is the recommended size, so i can split it accordingly.
    Once I split them I should just import them one after the other?
    Should I start with a fresh install, or just delete the posts from the blog dashboard?

    THanks

  6. tehnotronix
    Member
    Posted 1 year ago #

    The site is actually here: http://littleaesthete.com/
    Sorry for the wrong link

  7. tehnotronix
    Member
    Posted 1 year ago #

    Do you recommend any particular XML splitting program?

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    Have a look at http://www.gbmini.net/wp/2008/11/splitting_wordpress_export_import_file/

    If you can manage to get individual .xml files less than 1 MB, so much the better.

  9. tehnotronix
    Member
    Posted 1 year ago #

    That's the same site from where I downloaded the program. So I was using it only that I was spliting files in 2MB instead of one.

    I'll try it.
    Thank you

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    If you're importing a lot of images, the smaller you can get the individual sub-files, the better. For each image, WP has to contact the old site, grab a copy of the image and process it. That takes time and on shared hosting especially, you may start hitting your host's max_execution_time which is intended to stop rogue scripts running infinite loops etc.

  11. tehnotronix
    Member
    Posted 1 year ago #

    Hi,
    I finally found the time to try again.
    I used the wordpress xml splitting. it splitted in 21 files - each ~500k.
    Almost all of the media gets imported (~85%) and all the posts.

    The problem is that none of the media shows as attached to posts. Another thing is that the XML is not properly imported: all the href, src, etc points back to the old site. So if you browse the blog everything seems fine, but if you click on a picture you get re-directed to the old lilaesthete.wordpress.com

    I tried doing something else then: I exported the xml from the new site and edited all the links to point to itself instead of the old wordpress.org site. I then imported it back. Although it now points to images on the site, when you click on one it says it cannot find it. Because of the URL link is wrong. I must have done the replacement the wrong way.
    Is there an easier way to do this because I'm running out of options here - unless a hapiness engineer will do that for me for a sum of money. Isn't it this supposed to work better?

    thanks for all your support!
    t

  12. Abhishek Ghosh
    Member
    Posted 1 year ago #

    all the href, src, etc points back to the old site. So if you browse the blog everything seems fine, but if you click on a picture you get re-directed to the old lilaesthete.wordpress.com

    For old links , use search and replace plugin : http://wordpress.org/extend/plugins/search-and-replace/

    The problem is that none of the media shows as attached to posts.

    esmi actually said the answer :

    If you're importing a lot of images, the smaller you can get the individual sub-files, the better. For each image, WP has to contact the old site, grab a copy of the image and process it.

  13. tehnotronix
    Member
    Posted 1 year ago #

    Is there a recommended size?
    I started with the full size XML and now I'm using 500k. How small should I go since files are imported actually?

  14. tehnotronix
    Member
    Posted 1 year ago #

    Abhishek, the plugin search and replace was the thing that I was missing!
    Worked like a charm!

    Thank you very much and have a good new year!
    [ redundant link removed ]
    T

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags