WordPress.org

Ready to get started?Download WordPress

Forums

Export from wordpress.com then import to self-hosted leaves media there (32 posts)

  1. douglerner
    Member
    Posted 1 year ago #

    I exported from my wordpress.com blog and imported to my self-hosted blog at douglerner.net.

    While it worked, I noticed all the media links go to wordpress.com.

    Is there another way I can export so that when I import I also bring in my media? Or do I just need to keep my wordpress.com site up and going?

    (When I imported to wordpress.com from Posterous it actually brought the media in, so I thought the wordpress-to-wordpress export/import might do the same thing.)

    I'm not quite sure if this is a wordpress.com question or a wordpress.org question, so I'll also post over there.

    Thanks,

    doug

  2. douglerner
    Member
    Posted 1 year ago #

    I just was looking at my Media and they are all there - but they are all unattached!

    Agh!

    doug

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Have you read this? http://codex.wordpress.org/Moving_WordPress

    I believe it discusses that issue.

  4. douglerner
    Member
    Posted 1 year ago #

    I did not find that earlier when searching. Thanks. I will check that out.

    doug

  5. douglerner
    Member
    Posted 1 year ago #

    WPyogi,

    Do you happen to know if running that search and replace script will also cause the status of the media to go from "unattached" to "attached"?

    Thanks,

    doug

  6. douglerner
    Member
    Posted 1 year ago #

    Hmm... It's actually more complicated than simple search and replace.

    I just deleted all my content and media and re-imported everything from wordpress.com again.

    This time there were 830 images imported, but some were attached and 696 were not attached and remain links to wordpress.com.

    The 134 which were properly attached seem to be the most recent images, since March of this year.

    The ones before that are unattached. I think those might be the ones I imported from Posterous into WordPress.com.

    Anyway, the reason the search-and-replace would not work is because the URLS in the Media library are all by id number, like http://douglerner.net/?attachment_id=2057. But the URLs in the post are like http://douglerner.files.wordpress.com/2010/02/media_httplernernetbl_bnugv-scaled5001.jpg?w=300.

    So what kind of search-and-replace would be possible in that case?

    Maybe it's easier to just leave the wordpress.com blog up, just to serve the media which didn't get attached. It would be nice to have it all in one place though.

    Are there maybe "smarter importers" which can deal with this?

    Thanks,

    doug

  7. douglerner
    Member
    Posted 1 year ago #

    I guess I'll just:

    (1) In the meanwhile, keep using the wordpress.com as a "media repository." They aren't going anywhere, I assume, right?

    (2) Continue to double-post to Posterous.

    (3) Maybe one of these days Posterous will keep their promise and provide an export solution and I can then delete everything and re-import from Posterous.

    But the the meantime, I guess using wordpress.com to service the images which did not get attached is an ok solution.

    Unless anybody has a better idea?

    Thanks,

    doug

  8. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    @douglerner,
    I think you know the complications better than anybody else in this forum.

  9. douglerner
    Member
    Posted 1 year ago #

    Krishna,

    Yet, I am just a beginner with WordPress.

    doug

  10. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    I too was a beginner sometime ago. I too learned a little bit by trying this way. I hope you too will succeed and become an expert and help others too. Unfortunately, the problem is that not all problems have standard solutions, because the problems originated in unusual circumstances. All plugins, software, importers, etc. are designed for solving some type of common problems.

  11. douglerner
    Member
    Posted 1 year ago #

    That's true, Krishna.

    But what's so weird is the inconsistency of the wordpress importer. I can run it one time and get the last few month's worth of photos to attach locally. I can run it again at a complete fresh install and 100% of the media still link back to WordPress.com.

    So even for the standard solution, the tool itself seems to be very very unstable and inconsistent.

    doug

  12. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Are you able to import all your posts with correct links? Only images link back to their original location? Is it the problem now? All else OK?

  13. douglerner
    Member
    Posted 1 year ago #

    As far as I can yes, the only problem is that 693 of over 830 images link back to their original location. The rest of the images managed to attach and the links in the post are to the local media.

    And as far as I can tell, all the posts appear ok. I don't know for sure though without looking at all 726 posts.

    So the problem is more of a feeling like "it's all pasted together with glue and rubber bands" and if something happens to the original location things will go bad.

    But the original locations are almost entirely wordpress.com. I guess that's pretty safe.

    A few original locations appear to be Posterous' Amazon cloud because wordpress.com apparently didn't import those correctly from Posterous. Those are more iffy, but just a handful and I could manually change those maybe.

    One point of concern. I thought the media count matched up, but the media count at my self-hosted site (douglerner.net) is 830 (695 not attached) and the media count at wordpress.com (douglerner.wordpress.com) is 1,174 (all attached). I wonder what the 344 count difference is.

    I guess if I don't go through each post one by one I won't know. It could be that there are some posts with gallery thumbnails which are missing the originals. Or the originals go back to wordpress.com, in which case it's "ok" that the media didn't get imported.

    All confusing. But the short answer to your question is that as far as I can tell the posts at the self-hosted site look ok. Maybe I can pay my younger sister to go through each post one-by-one and see if they all look ok. :)

    Thanks,

    doug

  14. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    What you do now is to see if for individual posts images are opening or not, no matter if it is from WordPress.com or Amazon. If it is OK, your work is almost done.

    I think you should go with your .com domain. The count difference can be because of some posts being imported more than once. It is not a big problem.

    Please check the above. The rest will be OK.

  15. douglerner
    Member
    Posted 1 year ago #

    I need to find somebody to check all my posts for one cent per post. :)

    I prefer the .com domain as well. Right now douglerner.com is going to my Posterous site. Yesterday I switched it temporarily to point to my self-hosted wordpress site (I think you and I discussed SEO issues), but realized that Google had indexed my Posterous site, which goes back for years. The links appeared broken because the URL format was different.

    However, after I switched the .com domain back to Posterous I realized that one of the permalink settings in WordPress exactly matched that of Posterous. So I could switch it back again and the Google links will still work.

    There is the whole issue of changing the domain for the wordpress site itself. I have to study up on how to do that exactly.

    In the meantime though, I can at least have douglerner.com end up at the douglerner.net wordpress site.

    One reason why it might be better to leave it as douglerner.net is because my email address goes to lerner.net (somebody else owns lerner.com). That might be confusing to some people.

    Another idea is to make the blog itself lerner.net!

    doug

  16. douglerner
    Member
    Posted 1 year ago #

    Uh oh. I've been going through all my posts and almost immediately ran into a bad issue.

    I wonder how many there are like this one:

    http://douglerner.net/taken-with-my-new-iphone-macro-lens/

    Note that the thumbnails don't match the originals.

    The post it was imported from on wordpress.com doesn't have that problem:

    http://douglerner.wordpress.com/2012/06/10/taken-with-my-new-iphone-macro-lens/

    I feel like I can't rely on the entire import after seeing that.

    Darn...

    doug

  17. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    I don't find any problem. The image is also imported and it has your current URL. It is perfect. If you are worried about its size, etc. It can be corrected later. Don't worry about it.

    Similarly check others posts.

  18. douglerner
    Member
    Posted 1 year ago #

    Krishna-san,

    What are you seeing? To me it looks like the three thumbnails are food photos, but the originals are entirely different images.

    Thanks,

    doug

  19. douglerner
    Member
    Posted 1 year ago #

    It was a caching issue. It looked correct in another browser and so I cleared my Safari cache and all looked fine. Whew.

    I will check other posts.

    Thanks,

    doug

  20. douglerner
    Member
    Posted 1 year ago #

    Well, I checked all the posts at my self-hosted site at douglerner.net.

    For the most part it's "ok" as long as I continue to use my wordpress.com site as the repository for the media files which did not attach, and where the links in the posts still point to wordpress.com.

    Some notes:

    (1) The non-attached files mostly started around March 22, as with this post: http://douglerner.net/plum-blossoms-in-bloom-near-my-house/ - the ones newer than then are all local to douglerner.net.

    But it's not consistent. I also see some posts from 2008 and 2007 which are attached and local.

    (2) A few dozen posts have the photos showing up sideways, like in http://douglerner.net/supermarket-closed-at-1pm/ - though if you click on the originals they are oriented correctly.

    (3) A large number of posts are showing "blurry preview photos" like here: http://douglerner.net/empty-supermarket-shelves-after-the-earthquake/ - if you click on the originals you can see they look sharp. I think they are being forced into sizes which aren't suitable.

    (4) Some photos are missing the originals and only showing the thumbnails, like here: http://douglerner.net/spiral-color-illusion/

    (5) On this page all the YouTube video links are missing: http://douglerner.net/page/66/ - but I guess I can manually replace those.

    I guess I'd rate the import about a 7 out of 10.

    All the posts with photos at least show photos.

    doug

  21. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    I think you should be happy about the final outcome. With so much of complications, you cannot expect more perfection than this. The problems listed by you can be easily corrected. When you select a good theme and use it properly some of the problems will get corrected automatically. the rest will have to be set right manually. Same is the case with videos. Get codes from YouTube and just insert them.

    If your blog is photo-centric, select a theme suitable for that. You will find a lot of them in the FREE THEMES repository of WordPress.

    So, I think your problems are almost solved.

  22. douglerner
    Member
    Posted 1 year ago #

    Thanks very much for your assistance, Krishna.

    I guess I should just leave douglerner.wordpress.com as it is then, to continue to use it as a repository. I wonder if I should delete the posts there and just retain the media links. WordPress.com might not appreciate that...

    doug

  23. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    It is still working and see for example, if you have comments, etc. there. If comments are there, see if they were also imported. Do not delete it. The links have to redirect.

  24. douglerner
    Member
    Posted 1 year ago #

    Hi, Krishna.

    Yes, I know that douglerner.wordpress.com is still working. Comments there did import to douglerner.net.

    What needs to redirect?

    Thanks,

    doug

  25. douglerner
    Member
    Posted 1 year ago #

    Thanks everybody for your help.

    I think this issue has progressed as far as it is going to, so I am marking it resolved (though the wordpress importer acts inconsistently and has bugs which are not resolved).

    Thanks,

    doug

  26. douglerner
    Member
    Posted 1 year ago #

    Sorry. Despite advice I got to mark this thread resolved, it isn't resolved, so I changed the status back.

    The problems mentioned above (blurry photos, etc.) and the lack of attached media are just problematic. I can't migrate from wordpress.com in the state it's in.

    I also tried an import from my posterous blog, where it all began (and what wordpress.com originally imported pretty well), but I end up with a similar problem. About 150 images are correctly imported and attached to posts, but the rest of the links point back to Posterous.com.

    So I'm left with three alternatives:

    1. Stick with WordPress.com.

    Pros: The site generally works well and it's managed by somebody else.
    Cons: I have no control over my subscribers-by-email and the notifications send invalid links for YouTube videos.

    2. Use my self-hosted wordpress imported from wordpress.com.

    Cons: The media is just too messed up, and the majority of links still go back to wordpress.com.

    3. Use my self-hosted wordpress imported from posterous.com.

    Cons: The media all look nice (no blurry images, like with the wordpress.com import) but most of the media links go back to posterous.com.

    None are good solutions. I'm stuck. (;_;)

    doug

  27. douglerner
    Member
    Posted 1 year ago #

    This solution, using the Added Linked Images to Gallery plugin might work in this case too:

    http://wordpress.org/support/topic/plugin-posterous-importer-only-pulls-140-out-of-800-media

    doug

  28. grander
    Member
    Posted 1 year ago #

    Doug!
    Did you find a solution? I'm having the exact same problems.
    Have tried to import posts från a blog at wordpress.com without the media and instead using the media tools plugin to import external images and set featured images. Seems to work by the status report, but when completed the posts still points to the old media files at wp.com and the previews are blurry.

    Im stuck! Please let me know if you have found a way
    the blog: http://www.martingrander.se/mobile

    Martin

  29. Ricardo Tosin
    Member
    Posted 1 year ago #

    I was looking the xml file generated by wordpress i was having the same problem and i just look at "filetoimport.xml"... and just replace some
    paths in lines using copy and replace, look, my last wordpress was installed in http://localhost/wordpress/ but my new wordpress was installed inside localhost/tosin/ and old media or jpg was in localhost/wordpress/wp-content/uploads/assets
    i just simple create that folder inside my new installation ... localhost/tosin/wp-content/uploads/assets/, and after that i change all lines in my .xml file who have that path localhost/wordpres/ to localhost/tosin.. and that's works pretty for me

  30. mcbsys
    Member
    Posted 12 months ago #

    I'm trying to figure out why a small site I imported into WP 3.5.1 copied the media and updated the media links, but a large import did neither. In both cases, I selected "Download and import file attachments" during the import.

    The good import displayed a message when it finished; the bad import did not.

    I'm thinking the difference may be due to the 30-second PHP max_execution_time at my web host: enough time to complete the small import but not the big. Seems like that might also explain the inconsistent behavior the OP was seeing on his imports.

    If that's the problem, I guess the only option (short of switching web hosts) is to split up the import file into smaller chunks as suggested near the bottom of this FAQ.

Topic Closed

This topic has been closed to new replies.

About this Topic