DISQUS

DISQUS Hello! Technosailor is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

WordPress-to-WordPress Import

Started by Aaron Brazell · 11 months ago

No excerpt available. Jump to website »

276 comments

  • Schweeeeet. I'm wanting to do some merging, too. This is perfect. It's like there's a force of attraction at work here.
  • Hope it works out well for you, patrick.
  • Great idea! I would like to ask you something before trying it out: what happens with blogs that use format plugins on posts like Textile, Markdown, etc.? The export gets the "source" of the post (that is, using the plugin's format) or the processed code (XHTML output)?

    Great work!
  • Felipe--
    Textile and MArkdown are both plugins. Therefore they are filters of the_post(). If you look in the database at the raw entry, it will have all the textile/markdown markup. It's not formatted there. When the_content() is called and filtered on Markdown or Textile, the formatting comes through.

    That being the case, if you import a WordPress blog that has been using Textile/Markdown, you'll be pulling in the raw content that is unformatted. To preserve the formatting, the new blog will have to have Textile or Markdown enabled as well.
  • Just leaving a note of gratitude. I've been putting off this sort of thing for lack of knowledge and a burning desire to surf for it. The plugin made it a snap. Much appreciate Sir.

    And I couldn't help but notice The Wire: Season 1 peeking at me from below. Great, great show. First class all around in my opinion. McNulty man.
  • Just wanted to say a big thank you for this plugin, it's been a great help in setting up a test site for me, so I can play about with themes before they go live!

    Even for just a few posts to test, this plugin in invaluble!
  • Hi,

    I've just tried to import my old wordpress blog into wordpress.com . Sadly it says

    Sorry, there has been an error.

    The uploaded file exceeds the upload_max_filesize directive in php.ini.

    The file is about 2.1mb. Is there any way I can chop the file?

    regards,
    Steven
  • I've just used the plugin to import roughly 180 posts, 320 comments, 30 categories and 8 authors. Wordpress was just becoming a bit of a hassle - wordpress.com is so much easier. You can concentrate on writing for a change.

    Worked without a hitch and all is great with the world again.
  • Good Morning, Aaron.

    The plugin is giving me an error when I activate it in my wp1.5.1.3 version blog:

    Warning: Wrong parameter count for substr() in /home/grace/public_html/wp/wp-content/plugins/wp-xmlmigrate.php on line 12

    Consequently, I am not given an option to export.

    I am on the verge of closing my old blog (leaving a host) and your plugin promises to preserve just files I care to keep.

    I would appreciate any help you could offer. I am using your plugin version 1.0.

    Thank you for the right plugin at the right time!

    Update: I decided to try to remove line 12 along with it's corresponding brackets . . . and It Worked! :)

    I thought this would still be worth posting.

    Now, I suppose I also wouldn't mind being able to easily export my links. Just in case. :mrgreen: (How come wp doesn't allow for subcategories for links, anyway?)
  • Thanks, Valerie. A bug makes it incompatible with 1.5. Recommend you upgrade to 2.0 before attempting. I'll fix the bug later.

    As for the rest of the import, unfortunately this is not a full fledge importer. This is a plugin that duplicates behavior in the next version of WP. I suppose I might be able to figure out how to do the links and cats, etc, but everything would get a little complex for an XML file. We'll see.
  • Hello Aaron,

    Great Plugin! But the import dont work at my blog. I import the xml file an after a while I get the message to download my admin.php! Whats wrong? Hope you can help me!

    killercup
  • killercup: It sounds to me like a plugin. I'd recommend disabling your plugins and re-enabling them one by one until you find the culprit. Let me know which plugin you find is causing this. Thanks
  • thank you for your quick answer. i disabled all plugins and got the same message. download admin.php. but why download?! the admin.php is executable and works fine. is there some other chance to fix this?
    please help me! i have to migrate a blog with more than 500 osts an sql-import crashes because i got an error when i want to write a new post.
  • Well, just to be clear, I don't do free support. Most of this code is taken directly from WP 2.1. What version of WP are you running?
  • 2.0.3
    is it clever just upgrade to the newest beta?
  • 2.0.4 is in beta and should be okay. I don't recommend upgrading to 2.1 yet unless you plan to write patches and do testing.
  • thank you for your help. do i have to subscribe to the teser-mailing-list or is there any other possibility to get the current 2.0.4 beta? i dont have svn.
  • hey, i know whats wrong! when i try to import a small file everything is ok. but when i try to import an 1,6 mb file with over 1500 entries I get the error.
    if this is an server-problem, please tell me, else it might help to split large files on export!
  • killercup: That's largely up to the server configuration of PHP. Not really a WP issue.
  • I ve asked my hoster, they have configured only the php limit at 8MB.
    i hope you can tell this some other developers and there will be an option to split the export e.g. in month.
  • The plugin is broken on 1.5.x. Line 12 has bad substr args. Try this instead:

    if ( ( '2.0' == substr( get_bloginfo('version'), 0, 3 ) ) || ( '1.5' == substr( get_bloginfo('version'), 0, 3 ) ) )
  • I had the same problem with 1.5 and I did the same thing as Valerie - just removed the if statement completely - and it worked fine.

    Now to rebuild my site and move it back!
  • This is a fantastic plugin. I was running a WP version that had been hacked to integrate with the Joomla CMS and was pessimistic about the chances of exporting to my new site. Your plugin worked flawlessly for me. Thanks.
  • Thank you very much for making this available. I know that you said Matt deserves much of the credit, but thank you anyways. This works great, and is allowing me to move all my family WP blogs to WP.com! Less work for me... :)
  • All sounds great but I get these error in my testinstallation of 2.0.3:

    "Import WordPress

    Warning: file(c:Inetpubwwwrootwordpress/i/2006/08/wpxml) [function.file]: failed to open stream: No such file or directory in c:\Inetpub\wwwroot\wordpress\wp-admin\import\wordpress.php on line 81

    Warning: implode() [function.implode]: Bad arguments. in c:\Inetpub\wwwroot\wordpress\wp-admin\import\wordpress.php on line 82"

    I'm guessing it's somehow related to the way the path looks in the first message. Export works great, so does import of RSS which I just tried so what could be the cure for the errors above?
  • Absolutely perfect... Just what I needed. Been a bit of a long route from a blogger blog to WP on a server at home (using the import from blogger tool) to WP on my hosting acct (which didn't allow curl, hence the long route .) but we're here now and working.

    Thanks again!
  • Finally found and fixed the problem :D

    For it to run on IIS I had to add enctype="multipart/form-data" to the form-tag in wp_authors_form().
  • Sorry for my last post. I tried so many things. What made it work was correcting the paths to the uploaded file in the database's postmeta-table.
  • Thanks a lot for this. It works perfectly. For someone who doesn't code it's a godsend. Kudos.
  • Holy crap, that's a top job.

    Not to be an ungrateful hag, cause it took me about three seconds to fix, but the resultant file had this at the end (html stripped):

    Warning: Missing argument 1 for wp_die() in /(path removed)wp-includes/functions.php on line 2447

    Warning: Cannot modify header information - headers already sent by (output started at /(path removed)/wp-content/plugins/wp-xmlmigrate.php:59) in /(path removed)/wp-includes/functions.php on line 2448


    ...followed by some HTML for a mostly blank page. Eep!
  • this is really a fantastic plugin!
    thank you for making everything easy.
  • Bugfix release noted above. Go download. Now. :)
  • You win. :D Thanks!
  • Por alguna razón no puedo descargar el archivo xml desde mozilla firefox, tuve que recurrir a IExplorer para poder bajarlo. Aparte de eso, funciona de las mil maravillas.
  • Gracias, Thomas. Si, comprende.

    Google Translation, pardon:
    Estoy enterado de la edición pero no he calculado hacia fuera una solución todavía
  • Hi, tried the plugin and everything worked except for pages.

    When they get exported, they're pointing to the current post id of their parent, which means when they're imported (since the ids change) the sub pages all disappear. They're in the database, they're just no longer linked to their parents.
  • On Macintosh / Safari I get an 'unknown error' after clicking on the export button: it does not recognize the page as a feed. It doesn't recognize the page as pretty much anything ;)

    On Firefox / WindowsXP it shows a resulting html page with a summary of my site, not a WXR file, and nothing to download either.

    What am I doing wrong? WP 2.02.
  • I'm glad I found this plugin. I'm moving a couple of separate blogs into WPMU. This did the trick. My problem is that we use Ultimate Tag Warrior for tagging and those tags are converted into categories upon import. Imagine having a very long list of categories in the write post sidebar. Anyway this actually worked. I'll be doing a bit of work to separate categories and UTW tags.
  • Great script, helped me a bunch, only it didn't export/import post excerpts.
    So I've added the post excerpt to the the export and import script. If you want I can send it to you.
  • Great plugin. It would be great to have something that does this automatically.

    Everytime I update a site it updates the main blog.
  • Must be a great plugin, I will try it right now. One question: what's about pages? Could they be importet too? Thanx in advance.
  • The plugin worked great for entries, but did not import my comments. Please help?
  • Never mind - I spoke too soon!
    Thanks!!
  • We manually ftp'd the XML file to our host to get around the upload limit. How do I point the importer to an XML file already on the server?
  • This is a great plugins, I already tried this plugins and it works to me.
  • This rocks, Aaron. I was looking for something like this for months.
  • hey aaron,
    i tried to import my 600 blog-posts on wordpress.com but it just creates a timeout and nothing happens.
    i suggested this a while ago and i see this would be really nice: split the export file into one file for each month! so you can import one file after another and i think this might work!
  • aaron,
    even i was able to follow your instructions!

    thanks, mark
  • Mark: Good to hear, my man! :)
  • I tried the import tool, but it came out all blank in my new hosting site www.julianmorin.com/blog

    No error message whatsoever.
  • Hello

    when i use the exporter i get an xml file which is 9.8mb - then when i try to import it i receive a message which states

    "Sorry, there has been an error.
    File is empty. Please upload something more substantial."

    this is on a mac in Safari and Firefox, wordpress 2.04
  • can you clarify this: "non 1.5 or 2.0.x release"? does that mean non 1.5 AND non 2.0.x? just to be sure.

    i want to export certain posts under a category from a 2.0.3 wordpress install :D
  • php can only import files less than 8 mb. see my last comment for a suggestion for solving this problem. (splitt export in months)
  • I installed plugin and importer to version 2.04, and exported my wordpress.com blog.

    Upon attempted import of wordpress filem, I just get a message -
    "The uploaded file could not be moved to ."

    I'm guessing chmod? If that could be it, what exactly should be chmoded t owhat settings?
  • Still not sure how to upload files to the wordpress.com blog. I can only find how to upload images and can not seem to be able to find ftp info. Can you provide further assistance? Thanks.
  • Just what I was looking for, worked perfectly, thanks ;-)
  • I'm getting a SQL file when I export from a Yahoo! hosted WordPress blog. Any ideas?
  • Damon,

    Here is a link that may help:
    http://www.tamba2.org.uk/wordpress/restore/

    I too have a Yahoo SQL output file but I can not seem to get things to work as per the instructions. I'm still trying to transfer my old Yahoo hosted WP posts to my new WP site.

    Let me know how you make out.

    Jld
  • Dammit, the excerpt got bermuda triangulated.
  • Aaron,

    It's a great plugin but I think I've found a flaw of sorts. I recently moved my blog to a new domain using the plugin and then redirected (301) all the old permalinks to the new ones. For about 20 posts out of 440 I've been getting 404 errors from the redirect. At first I thought the pages were missing but that's not the problem -- they are there but their slug has been changed and hence the permalink. Each affected post is one where WP would have mangled the slug originally to avoid a collision.
  • Thanks a million for creating this plugin! I just exported posts from my previous blog to my current one and it works like a dream!

    EXCELLENT WORK!
  • Gah, if only this were available when I was migrating my wordpress blog to fool45.com. Oh well, at least other people won't suffer what I did.
  • Thank you soo much! You've made the gruesome import/export process a breeze :)

    You guys rock!
  • I am getting a similar error to the one in post 25 bu J-O, and I tried thier fix as outlined in post 27, but to no avail. Unfortunately, I'm doing this blog move as a favour, and can't ask to move the host over to a linux site, where I'm sure it would probably go off w/out a hitch...
    ====================
    Import WordPress

    Warning: file(C:Program FilesApache GroupApachehtdocsvirtualhostswww.bikinizero.comwp/wp-content/uploads/2006/09/bzxml): failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.bikinizero.com\wp\wp-admin\import\wordpress.php on line 81

    Warning: implode(): Bad arguments. in C:\Program Files\Apache Group\Apache\htdocs\virtualhosts\www.bikinizero.com\wp\wp-admin\import\wordpress.php on line 82

    All done.
    ====================
  • Perhaps I misunderstood what this plugin is supposed to do - (I'm post number 54 above, and gotten no answer)


    We have a wordpress.com hosted blog, and now have installed WP on our domain. We want to import all 50+ of the old posts from wordpress.com blog.

    Is that what this is supposed to do?

    Upon attempted import of wordpress filem, I just get a message -

    “The uploaded file could not be moved to .”

    and that's all it says!
  • I am having the same problem as Scott (post #65). Is there any fix for this?
  • Sorry to hear that Candice, but "Hooray!" someone else that at least acknowledges there's a problem. What could it be?

    I told someone this 'might' work, and I'm REALLY diappointed that it didn't. With all these glowing reviews, I was starting to think I was insane.
  • I'm importing my wordpress blog to another domain at wordpress. I want to keep posting on the old one until I have the new one ready. If I import from the original blog, will it delete or mess up any of my existing information?
  • not so good:
    In my experience the import/export worked really nicely. There's one potential pitfall though if you want your new blog to exactly mirror the old one (so that for example you can redirect from old to new). The import process may mangle post slugs and permalinks wherever the posts have the same title.
  • hi aaron,

    i ve got a multi-user blog and now one user wants to get an own blog on wordpress.com. Is there any possibilty to export only the articles from this user? or is there anther way for him to transfer his entries to wordpress.com without copy&paste everything?
  • Recent posts indicate problem importing from wordpress.com to own wordpress. Both Candice and Scott and, I guess, many others have the same problem, as do I! Is there a solution? I get the following message: Warning: file(D:hshomeummeraummera.comwordpress/wp-content/uploads/2006/10/wordpress2006-10-06xml): failed to open stream: No such file or directory in D:\hshome\ummera\ummera.com\wordpress\wp-admin\import\wordpress.php on line 81

    Warning: implode(): Bad arguments. in D:\hshome\ummera\ummera.com\wordpress\wp-admin\import\wordpress.php on line 82
  • Anthony: For one, that is not my file. The importer, as I explicitly noted in the post, is a WordPress core file. The bug should be opened with them. The only thing I wrote was the exporter plugin. I only bundled the importer for users of WP 2.0.x that don't have access to the importer yet since it is in the next version of WordPress.

    For two, look at your php.ini file and check out your setting with magic_cquotes_gpc. This is stripping your slashes. This is not my problem. This is a PHP config problem.

    Thirdly, you're running on Windows. This could (I don't know) be throwing wackiness your way too.
  • Aaron, appreciate your reply and as a strict amateur wandering into a world beyond my ken, I thank you! I am still little the wiser, but will consult with those who are. I am just a little surprised that there isn't a simple means of transfering from wordpress.com to our own domain.
  • Aaron, I don't know whether it's on the export end or the import but it appears that post excerpts are not transferred. Is that a feature or a bug?
  • IT does not export excerpts... correct.
  • I might have figured out the issue of --“The uploaded file could not be moved to .”
    First, you need to have an "uploads" folder, and it needs to have the right permissions. My setup did not have an uploads folder at all. The 2nd thing to check, was I had done some weird things with my permalinks and .htaccess file.
    In the end I moved mine by hand, but I only had 10 entries.
  • hello,

    i get this message:

    "Howdy! This importer allows you to extract posts from wordpress RSS 2.0 file into your blog. This is useful if you want to import your posts from your local machine to the server on which you see this page. To get started you must fill in the "option" page"

    but there is no option page... waht to do?
  • nimue, that's not the WordPress importer. That's the RSS importer.
  • aaron, i really need your help. i need an ability to export only the entries of one author. can you please help me?
  • hi - I have a wordpress.com blog and have just ( 5 miuntes ago) started a wordpress.org blog and I want to migrate all the my posts there. Am a total noob when it comes to plug ins/rss etc. If you have the patience could you explain how this works?
  • Good Luck Rebeca. That's what I thought this tool was good for, importing your Wordpress.com hosted blog to your own hosted version, but apparently not.

    My original post 65, and 113, and 118 all have gone unrespoonded to by the developer, although Candic had a suggestion in #123, she never tried it.
  • Scott: I may not have responded directly. I can't support everyone and in fact, everything I release is on an as-is basis.

    In addition, your problem is with the Importer. I need you to re-read my entry. I don't support the importer. I didn't write it. I only bundled it. If there is a problem with it, it needs to be reported to the WordPress developers.

    Please don't poison the readers with snide comments about my support when you yourself have not read my entry and understood it.

    Rebeca: What's the issue? Instructions in the entry? Have you followed them? Are you getting an error somewhere?
  • aaron, please have a look at my last comment, its important for me!
  • killercup: Send me an email. I can't promise anything.
  • You're right Aaron, I'm sorry to appear snide...I'm just frustrated, because it sounded like thjis would work.
  • Scott, try using WP on a Linux system. Load a copy of your existing blog onto a temp WP blog. Then run the import, importing your stuff into the temp blog. Once successful, export your database and reload it in Windows.

    This is presuming you're running on a Windows platform. That's what it seems.
  • Sorry for not being clearer but where do I find my WordPress eXtended RSS (WXR) file?
    I told you I was a newbie:)
  • ok scratch that - i figured that out but this is the error msg I'm getting

    WordPress database error: [Lock wait timeout exceeded; try restarting transaction]

    I don't think this has anything to do with your plug in right, but if you could translate that for me?
  • I was trying to use this plugin with Safari, and all that would happen is my RSS reader would open, since Safari (I guess) interpreted this file as an RSS feed. I ended up using Firefox and it downloaded the file fine.
  • FWIW, I also had problems with uploading the xml file using Safari Firefox worked fine.
  • Aaron, thank you for the suggestion, but I am not on a Windows server.

    Just to clarify, this is my (and a fewo thers) error, because I notice your post numbers have changed -

    Upon attempted import of the apparently successfully exported wordpress.com file, I just get a message - “The uploaded file could not be moved to [blank] .” {blank} is not actually shown, it's just blank.

    With my comment in #132, i'm wondering if maybe I really do have the wrong opinion of what this is supposed to do.

    Take all my wordpress.com posts from their hosted blog and host it myself, right?
  • Hi, great plugin and thanks for your work.

    However I think I found a bug : I have child pages in my blog. They are well exported, but importing them silently fails : the importer lists the child pages as being imported, but they are not.
  • Thanks so much for this handy plug-in! It allowed me to move my WP 1.5 blog to its new home on the free WP site. Couldn't have done it without you!
  • just a quick: brilliant, thanks!! :)
  • So, reading the post above, (Kathy Spears) maybe THAT is the problem that I and a few others here are having? We may have misunderstood the function?

    The opposite of Kathy, we're actually trying to move FROM the free WP site to our own webhosts and servers, and getting the error - “The uploaded file could not be moved to .”

    Might that be it?
  • I'm trying to migrate 680 posts from one WP install to my new one. Although the entire site properly exported in the XML file, the import stopped at post 527.

    I went into the XML exported file and split off the posts that didn't import and ran it again just for those posts, but wanted you to know.
  • I have been trying all day to export my posts from my free wp.com to my newly hosted wp.ord after downloading this plugin. So far it has not worked and I am none the wiser. I am reading all these posts about this being an excellent tool and wondering what I am missing here. The option to import is there, but all I get is an error message.Unable to create directory /home/mydirectory/public_html/wp-content/uploads/2006/10. Is its parent directory writable by the server? Clues anyone?
    Thanks
  • Hi, I think the plug-in's great; I've previously used it successfully to import from my wordpress.com blog to my wordpress.org blog, and I was absolutely delighted about that.

    Now, I want to to use it to import my wordpress.com to a new wordpress.com blog hosted under Joomla!.
    I added the WordPress component to Joomla! from http://projects.j-prosolution.com/, which went without a hitch and seems to be a typical WordPress installation (Version 2.0, I think).
    I uploaded your plug-in files (Version 1.0.2) to the appropriate places so I could import my WXR file, as per the instructions, and went to import it. I browsed my hard drive and found the appropriate file and clicked "Import". I waited while it did its thing, then it asked me about author names. Whether I change anything for the author name or not, it doesn't seem to matter as far as the results go, and then click "submit". I then get the message:
    1.Importing post 'Blah blah blah'...
    Fatal error: Call to undefined function: username_exists() in ..../wp-admin/import/wordpress.php on line 60
    If you look in this file, this function is indeed not defined. Any ideas?
  • Further to my previous comment (#154), I hacked the code so that this function is not called and assign %user_id to anything, then ran the import procedure again. The result was that all my posts and comments were imported, but they were authorless.

    I think that the problem may be that the import program is not recognising that there is already an author and thinks it has to create one. I'll keep hacking...
  • I could only solve the authorlessness by tweaking the MySQL database directly. :/
  • I reset permissions on the upload folder and the import of my posts and comments to my new wordpresshosted from my wp.com worked blog worked.Nifty tool. The only thing is it didn't import pages. So it looks like I'll have to cut and paste those. I can live with that though. Thanks Aaron for your help.
  • This is a fantastic tool! I'm running 2.04 and my export file created with your plugin is 19.3MB -- I have over 17,300 comments -- and I want to upload it to WordPress.com but Andy at WordPress says that giant import file will likely choke the system.

    Is there an easy/automatic way to chop up such a file? The whole reason I want to move from standalone to WordPress.com is so I don't have to deal with this sort of technical trouble.

    If anyone has any ideas or hints, please give me a holla!

    Thanks!
  • So, how does this problem:
    Warning: file(C:Program FilesApache Software FoundationApache2.2wwwwordpress/wp-content/uploads/2006/10/wordpress2006-10-27xml) [function.file]: failed to open stream: No such file or directory in C:\Program Files\Apache Software Foundation\Apache2.2\www\wordpress\wp-admin\import\wordpress.php on line 81

    Warning: implode() [function.implode]: Bad arguments. in C:\Program Files\Apache Software Foundation\Apache2.2\www\wordpress\wp-admin\import\wordpress.php on line 82

    be solved after all? I still haven't found the solution...
  • Hi-

    I set up a WP.org blog for a friend on my hosting account and now I want to move him to his own host. Amazingly enough, he is even less techno-literate than me, so I'm thinking about putting him on WP.com. His blog is on v 2.0.2. Can I use this plug-in to do this? Oh, and will it preserve the URL's? Thanks for any help you can offer.
  • It did work. Perfectly. The second time I activated it. (Bugs in the first installation...). Everything's there : old posts, old comments, old pictures-in-posts. Great. Thanks.
  • It worked very well for me (on the 2nd attempt and after changing permissions on my servire) moving my posts to the new blog I'm setting up. But I noticed it didn't export my pages, just posts, categories and comments. I can live with that as most of my pages don't have comments turned on, but one of them does so I will have to cut and past all of those in. Just wanted to know if exporting pages is included. Great tool.
  • Ok, so I have just done some debugging of the Page import issue.

    ALL PAGES ARE EXPORTED
    ALL PAGES ARE IMPORTED

    However, somehow (and this is where I fail to come up with an explanation) when the post_parent field is not "0", the pages become invisible to the query"SELECT * FROM $wpdb->posts WHERE post_status = 'static'" in wordpress.

    Going in via phpMyAdmin and manually changing the post_parent field to 0 fixes it. Changing the parent via Wordpress UI afterwards keeps it visible.

    My only guess is that it may have something to do with data type definitions... No clue, honestly.

    But I would cheer a fix by someone more competent than myself. God knows I have done as much as I can towards sorting this out.
  • Is it only me that the posts having php codes inside do not get imported properly?
  • I get this error- The uploaded file could not be moved to .

    Any suggestions? Thank you :-)
  • I tried to import my blog from wordpress.com into another WP using blog on another server.

    I suppose I have the same problem as charlie just above, though my error is in Finnish, translates maybe: 'Transported file could not be saved as .'

    ('Siirrettyä tiedostoa ei voitu tallentaa nimellä .')

    My original problem was with the server, I think: I couldn't import from Blogspot, so I put up a wordpress.com blog and moved my stuff first there.
  • A most excellent plugin -- performed at 100% for major blog migration. Many thanks for providing this superb plugin.
  • I'm trying to solve the problem with the whole "Failed to open stream" issue, when importing. I know it's not to be your problem, but as I struggle with it, I have a question:
    - Shouldn't your plugin create a WXR file (WordPress eXtended RSS)? To me it's creating a .xml file
    Anyway, I was able to import the xml file as RSS, worked fine.
  • Soory aout that #21 above - it's from my blog, but I don't know why it's here. A moderator might want to remove it.

    I wonder if linking into this post made it visible here?
  • For some reason the plugin does not export post titles for me. it just parses
  • I'm trying to move my wordpress.com blog to a wordpress blog on another server, same as comments 169 and 170, and get the message "The uploaded file could not be moved to." Does anyone know what this means?
  • For anyone else who had the same problem as me (see above, #177): the answer can be found at Wordpress Support in the upload category, specifically at this link:
    http://wordpress.org/support/topic/59986?replie...
    When I changed my folder permissions, I was able to upload the file.
  • Trying to export from this blog, save WP export file to harddrive, and import into new blog with zero entries.

    I get this when I click button to export:

    Safari can’t open the page “feed://www.cfcure.com/bluestravels/wp-admin/edit.php?page=wp-xmlmigrate.php”. The error was: “unknown error” (NSURLErrorDomain:-1) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

    ??? Thgis is the 1.02 version
  • Safari can’t open the page.
    Safari can’t open the page “feed://ironmind.cfcure.com/wp-admin/edit.php?page=wp-xmlmigrate.php”. The error was: “unknown error” (NSURLErrorDomain:-1) Please choose Report Bug to Apple from the Safari menu, note the error number, and describe what you did before you saw this message.

    I get this in all my blogs. This plugin is failing to work.
  • Aaron,

    I want to use this plugin to move *part* of my weblog to a WP.com-hosted weblog.

    Right now, my blog is hosted on my own domain; I want to move certain categories to a WP.com blog and keep my original blog for other purposes. I installed the plug-in, but whenever I click the Download Export File button, my feed reader opens and tries to import the XML file as a news feed.

    What can I do?

    (BTW, I'm running WP 2.0.1.)
  • Aaron, a couple of suggestions.

    Make a backup of your blog and export it. Save it in safe keeping.

    Then, delete the catageories and entries you do not want to import, and RE-EXPORT the scaled down verion of your blog.

    Then, import back into your blog the first export file. It should not create duplicate posts, should it? Any one.

    Then from your other blog, import the smaller, scaled down export of your WP blog, and inthat way you will import only what you wanted to import.

    Does anyone disagree with this approach?
  • As for the for your other issue, what browser are you using. I know Safari has issues with the plugin. I tried Firefox and had no issues at all. Exported just fine.
  • I'm a non-techie and I'd love to see a readme.txt "how to" in the plugin download that walks you through the process step-by-step. I posted comment # 161 and have been afraid to tackle the move yet.
  • I won't be able to do the readme.txt in this iteration of the plugin, but I am working on a refresh as we speak.
  • Thanks Aaron. I'll keep an eye out for it. It will be a big help.
  • Version 2.0 is online. Details above.
  • I downloaded what I THOUGHT was version 2.0 of this plugin, but when I deactivated, removed, reuploaded and reactivated the plugin, it still says Verson 1.02 in AMIN

    What gives??
  • Hello:

    First of all, thank you because this is what I wanted!

    I have exported my WP 2.0.5 blog and imported in a test wordpress.com blog.

    Everything OK, BUT


    embedded video dissapear :(

    Compare:

    Original post:
    http://enrique.brito.es/blog/archives/257

    Backup copy:
    http://enriquebrito.wordpress.com/2006/10/27/mi...


    What about pages?
    Have you planned an update to cover pages too?

    By the way, I´ve used 1.0.2 version because I don´t find 2.0 import/export download link.
  • There are limitations to what you can use on Wp.com. Embedded videos are one of them. Might be why yours disappeared.YouTube is allowed. I would check out the wp.com forums for what is/isn't allowed. I've just imported my blog from .com to my own hosted.
  • I cannot find the 2.0 download link either. ???
  • Apologies on the bunk zip file, guys. I uploaded the wrong one. The correct one is now linked.
  • It's still 1.02 you weenie. :P

    hehehehh
  • Helps if I upload to the proper server.

    :sigh:
  • Heheheh its late.
  • Embeded video YOUTUBE also disappears.

    Could it be possible at IMPORT to select REPLACE or APPEND posts?
  • thanks for the new version!
    i like the option to export only some categorities, so:
    what about an option to choose which months to export? with this you can e.g. backup old posts and comments with one file per month. and further it would be possible to backup a month at its end automated with a cron job!
    i hope you'll have a look on my suggestion and give it a chance to get implemented! ;)
  • god bless you for this wonderful plug-in. It made transfering from my wordpress hosted blog to my own private server SUPER EASY!

    Thanks for this wonderful plug-in
  • I get an error:

    Sorry, there has been an error.

    Unable to create directory /users/home/rickschmoo/web/public/wp-content/uploads/2006/11. Is its parent directory writable by the server?

    I've checked and everything seems to be writable. Any ideas?
  • Thanks so much!! This was the easiest migration I've ever done, and was so excited to see it brought the photos and my other pages too. Totally rocks, thanks again!
  • I have moved my blog to another host and am running Wordpress 2.04 on it. My current blog contains lots of stuff that I wanna keep in my new blog as well. So if I choose Manage --> Export and export everything as an XML file and import this file into my WP 2.04 blog using Import --> RSS, will everything work fine? Will all my links etc. work?

    Or is there any other way of doing this?

    I searched the help site but found no info on importing a WP.com blog into a WP 2.04 blog. Though I did find your article and found it extremely useful

    Can you help me out with this? I really do not want to loose my old blog and recreating each post manually in the new blog is quite painful.

    thanks.
  • Mulder--

    Not sure why you would import via RSS when this plugin gives you the chance to import a WordPress export file? If you read the entry, you'll realize that this plugin is exactly what you need to move from wp.com to a wp blog.

    Cheers.
  • thanks for the prompt reply. I did the following:

    1. Exported WP.com as WXR
    2. In my WP blog, went to Import and clicked Wordpress
    3. Gave the path of the file generated in step 1
    4. Everything got imported just like you said.

    The only problem is that when I click the post titles, comments, or post category. I get errors similar to this:

    "Not Found
    The requested URL /blog/“/commentary/about-to-move/” was not found on this server."

    You can check out www.manukhanna.com.

    Can you suggest a solution.
  • Yeah I got it to work. Issue was with the Permalinks optimisation I had done. I went to Admin--> Permalinks and set them to default structure. now everyhting is working fine.

    thnx so much for ur help.
  • hi

    afer downloading above zip file, when i try to double click it in windows XP, it gives me error that it is invalid zip file.

    after that i got the file from one my friend. but now the problem is, when i import, it created similar number of categories as the number of posts.

    so what i do to solve this error ?
    kindly help please
  • 1. To save the file, right click the zip and choose Save Target as.

    2. Which version of WP are u using?
    3. I think u r choosing the wrong version of the plugin.

    3. R u trying to import a WordPress 1.5.x blog? if so use the plugin version 1.0.2
  • Respected sir,

    I have free wordpress blog with 60 posts. It is in NON-ENG langague (i mean gujarati languge) category names are also in gujarati.

    Now today i want it to transfered on my own domain so i exported XML file from free blog and i setup all the things including your tool on my domain and then started import.

    Import worked very nice and i got all posts and comments. But there is a big problem in category.

    If there are 50 posts it creates 50 categories. and without any name. for exmaple (1) like this.

    all posts are not filed under proper category.

    kinndly help me sir to solve this problem. I am very much confused since last so many hours. Is it bcos of NON-ENG categories ? do i have to attach all post manually by createing catgory on my domain ?

    waiting for your reply.
    thanks sir.

    bye
  • In my case, Spanish blog, I have one category with non-english caracter, named "Inglés".

    Export worked fine and the import to a test wordpress.com blog was correct.

    So, perhaps your characters, your language is too many different from English.

    HAve you selected UTF-8 coding for your blog? WARNING: changing character coding may produce extrange caharacters.
    (OPTIONS --> READ --> FEED AND PAGE CODING) I think this is the route in English. My blog is in spanish, remember.

    I hope this helps.
  • yes sir

    my blog encoding is already utf-8 but still it is not working.
  • Thanks for this ablity to update much needed for Word Press!
    Super Idea!
  • I am trying to import a blog I exported from a wordpress.com blog site to my server with wordpress 2.0.5 installed. All the posts and comments seem to come in fine. But they are all in their own catagory not in the category they were in before. Is there somethng I can do to fix this? I tried creating all the categories on the new server first but that didn't work.
  • Tried importing, it worked fine. only the categories did not get imported.

    pl. help.
  • I just created export file from my exisiting wordpress blog
    but when i import it on my domain, it creates 63 categories bcos there are 63 posts. It gives the name to all categories as (1) like this.

    NONE OF THE CATEGORIES FROM MY EARLIER BLOG ARE IMPORTED.

    please help.
  • Apparently there are some bugs in this new version. Unfortunately, since I've been on travel and holidays, I have not been able to look into it. Will try to find time soon.
  • Great! Aaron, hope u find time soon. do let us kn ow once u fix it so that we can go ahead with the merging.

    BTW will the old version still work?
  • Frankly, I haven't independantly confirmed the reports on v2 so I have no idea if v1.0.2 would work - though that version is not downloadable anymore. There were significant problems with the XML.
  • The zip is available, though tarball isnt
  • Thanks for an excellent plug-in. It worked flawlessly.
  • I think I found the problem with importing and categories. The category tags look like this....

    but the regular expression looks like this...
    '|(.*?)|is'
    I changed it to this....
    '||is'
    Which works but probably not the best, I didn't feel like figuring out if or how I needed to escape '[', ']', and '!'

    It works with that one simple change.
  • I guess tags don't get posted in comments right. Anyway it is the regular expression on line 202 of the wordpress.php import file. The catagoris are not just between category tags they are also a tag them self with with this in side the angle brackets.

    ![CDATA[Category Name]]
  • Chris dude can u send me the updated wordpress.php. Actually I am programically challenged and don't wanna mess up things byt modifying the file on my own.

    my email is mailtomulder at gmail dot com
  • I'm having some trouble with the migration process. I figured it was an import issue so I posted it on the WP support forums, but after thinking about it, I suppose it could be a problem with the export format.

    Basically, the exported output is FILENAME.XML, but it looks like the import function is looking for FILENAME.WXR. Simply changing the extension has no effect. Uploading the file with either extension results in nothing. No import, no error messages, nothing.

    There's more detail in my post on the support forums, where there's another blogger having a similar issue:
    http://wordpress.org/support/topic/95309

    How do I use the output file to re-import?
  • Did anyone every figure out the migration process? I can't find that workpress.php file at all - where is it?
  • Len: wxr and xml don't really matter as there is an XML declaration on the first line of the file. Extensions don't matter, but the headers do.

    Sandra: wordpress.php is bundled with the plugin.
  • I thought it should be but I can't find it.
  • Hey Ya,

    I'm looking for someone who is excellent with WordPress and willing to provide their services to me - of course I will pay. I'm in the Cayman Islands and help seems a long way off - any takers?
  • You might post a job at http://jobs.problogger.net
  • Sandra, vivit me att my site http://totalphysiqueonline.com drop me a message in one of the comment links. Leave me your contact info.

    Tim
  • visit, vivit, att at, what difference does it make. You want someone who is good at wordpress, not a spelling bee champion, LOL

    Teasing.

    Hehehe
  • New package this morning. No new features. The only difference is the importer from WordPress that is bundled with the plugin.

    I did an import from wordpress.com to a hosted wordpress blog this morning using the new importer and catgeories are preserved. Looks like that bug was squashed.

    Both tarball and zip links have been updated.

    WordPress 2.1 should be out in the early part of next year and it will have all of this functionality built in. Word of caution for anyone hoping to upgrade right away - make sure all your plugins are compatible before you move. During the WordPress 1.5 to 2.0 changeover, there was a running compatibility checklist of known plugins over at the codex. I imagine something similar will be done with this change over as well.

    Feel free to continue to use this plugin on 2.0.x blogs until you're comfortable that switching to 2.1 won't break your blog.
  • Hi - have just started a new wordpress blog on my own website and want to bring over my old wordpress.com blog. Tried downloading your zip file but couldnt open it (corrupt). Is there a problem or am I doing something wrong?
  • I had a problem using this plugin. Safari complained that:

    Safari can’t open the page “localhost:8888/wordpress/wp-admin/edit.php?page=wp-xmlmigrate.php” because it cannot redirect to locations starting with “localhost:”.

    A quick and dirty fix seems to be commenting out (by adding two forward slashes to the start of the line ie. //) the following line in wp-xmlmigrate.php:

    header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true);

    in the function export_wp($cats)
  • I'm getting an error when I attempt to export, and as far as I can tell, it's not one that's been addressed in the previous comments:


    Warning: implode(): Bad arguments. in /home/content/r/a/r/rarmbrust/html/old/wp-content/plugins/wp-xmlmigrate.php on line 71

    WordPress database error:

    When I export using the plugin, it generates a nearly blank file that contains the above error.

    Please help...
  • What is the recommended appraoch to move from a yahoo mailing list/blog to wordpress, i.e. export/import yahoo data into wordpress ?
  • I still can't import the file and I don't understand why.

    I went into the XML file and cleaned up some case-sensitive mismatched tags, legacy HTML (mainly in comments with people entering their own) and other malformed code, but even after that it won't import. After uploading, I get a mostly blank page, and when I manually edit the URL in the browser address bar from "step1" to "step2" I get this:

    Import WordPress

    Warning: Invalid argument supplied for foreach() in /homepages/3/d95177212/htdocs/wordpress/wp-admin/import/wordpress.php on line 119

    Warning: Invalid argument supplied for foreach() in /homepages/3/d95177212/htdocs/wordpress/wp-admin/import/wordpress.php on line 126

    Warning: implode() [function.implode]: Bad arguments. in /homepages/3/d95177212/htdocs/wordpress/wp-admin/import/wordpress.php on line 84

    All done. Have fun!


    See this page for screen shots explaining what I mean.
  • Yeah, unfortunately, as I've said several times in this thread and in the post, I did not write the importer. I only bundled it. The importer comes from WordPress 2.1 which is still in alpha.

    If you need the latest importer that may have changed since the current version of this plugin was released, I'd recommend going and grabbiing the 2.1 source from SVN and use wp-admin/import/wordpress.php.

    I can't repeat enough. I don't maintain or support the importer. This plugin support goes with the EXPORTER which I wrote.

    :-)
  • hey,
    it says that the zip file is corrupted. any ideas?
  • Recommend using the tarball instead. I don't know why some people have problems with the zip and others don't, but try the tarball.
  • Thanks for the importer! That is great stuff. Love it!
  • what program do I use to open tarball? thanks
  • I cannot import video links that i had on youtube and some images are not displaying.
  • I had to make some changes manually to the xml files as some of the images were not displaying and also had to replace tags for youtube links. Apart from that, I'd give it 6.5 out of 10.
  • Thanks. Been looking for this. Hopefully it does what I need it to.
  • Just to confirm, the error: "The uploaded file could not be moved to ." is caused by not having 777 permissions set on the uploads folder. Make sure the uploads folder set within Wordpress is what you think it is.
  • Thank you Dave. This sound easy to try. Aaron, can you confirm this too?

    More important though, is there any problem importing now, several months after the blog has gotten going?

    We abandoned the old one, and never imported, but still have the export file.

    Will the original posts and dates from the Wordpress.com hosted, all still be intact on my own hosted WP? I won't overwrite existing content, right? (I'm sorry, I'm not a techie)
  • Thanks a lot, this is very helpful. I'm working on updating my site and wanted to set up a sort of "mirror" site before messing with things too much (I don't really know what I'm doing). I was running a little older version of WP, so this plugin was perfect!
  • Thank you very very very much :)
  • Things looked like they worked, but I have this in Manage:WPExport after the prompt to choose which categories I'd like to export:



    WordPress database error: [Unknown column 'category_count' in 'field list']
    SELECT cat_ID, cat_name, category_nicename, category_description, category_parent, category_count FROM wp_categories WHERE cat_ID > 0 ORDER BY cat_name


    Warning: Invalid argument supplied for foreach() in /home/mydomain/public_html/folder/wp-content/plugins/wp-xmlmigrate.php on line 30

    Is this a problem with my categories? I'd like to export all the categories. Is there some way I can just change the code to export all categories? I'm not up on any code that is web-related, sorry. Also, the old blog is 1.5.2!!! Is that still a problem?
  • Beautiful, thank you.

    For others like me who struggled for hours - it doesn't play nice with Safari (neither importing nor exporting). Use Firefox instead - I keep a copy hanging around on my hard drive for such occasions.
  • Tangent, it is lame that Google search result shows the foreign language text for the excerpt. Once it listed comment 7 and another comment 42.
  • *taps fingers on desk and wonders why nobody is postin*

    \"Postin\" -Southern Verb, to post. lol
  • One question: Many of my posts were basically just YouTube embedded objects or Flickr slideshows. Now that I've imported the posts these objects have dissapeared. Is there any way to keep these objects in the output file?
  • I had problems to import WordPress xml files to my installed WPMU. I opened the ticket at
    http://trac.mu.wordpress.org/ticket/206
    But then donnca reffered to your ticket as it was "somehow" fixed.
    Did you try importing the xml file I uploaded in my ticket and no problem occured?
  • wow, this works so great, I'm just speechless.. THANK YOU, THANK YOU, THANK YOU!!!
  • i trying to use your plugin but i received de follow message:

    The uploaded file could not be moved to

    what´s is worng, any permission?

    it´s happens also with RSS importation.

    could you help me ?

    thanks
  • Great work, thanks - it did exactly what it said on the tin.

    Much appreciated.
  • omigosh, this is a lifesaver. I'm switching hosting providers, but I'm also changing my database and folder structure. I had no idea how I was gonna keep the posts and not the cruft until I found this. Thank you so much.
  • When I try to open either download file winzip tells me it's corrupted.
  • Thanks for the plugin. I was able to import my previous WP blog to my new one. The only problem I had was that categories were not imported as well. Nevertheless, I'm quite happy about the importation of the comments. That's more important to me than the categories.

    Kudos and more power!
  • Just wanted to say thanks for this.

    I didn't want to upgrade my existing site since I was making a new one but with the old content.

    Appreciate it.
  • Well, whilst I am grateful for the plugin it just doesn't work for me.

    I have tried to export my old site and get a different sized XML file everytime.

    When I try to import the largest of these into my new WP2.1 installation it my browser spends some time uploading the file and then clears the import box from the screen leaving all other Admin Panel info there.

    No posts, categories etc appear.
  • Seems I was using too large a chunks of xml - works if I break it right up into tiny pieces.

    Doesn't restore my categories though :-( Got to edit 600 posts now...

    Appreciate this still though.
  • The plugin is almost working for me. I am working with hundreds of posts and maybe thousands of comments, and the exported doesn't get all the way through them. The file size is different each time, and when I open it, I can see that it hasn't finished (ends in the middle of an item). The file is way more than 2MB, and I understand I will have to break it up into smaller chucks, but I can't import if all the data isn't there. In any case thanks for your effort on a very useful plugin!
  • Worked like a charm. Thank you so very much for providing this plugin.
    All success
    Dr.Mani
  • Am I the only one that sees only one file in the download instead of two? I would really like to be able to use this plugin.
  • Boy, am I glad these comments are moderated, I am such a ditz, I found it thanks!
  • A life-saver, no less! And easy with that. My only problem is that I had to import the files from Mambo before transferring (don't ask). So I was triply thrilled to see this one working first time.
  • Thanks :) It worked without a hitch.
  • I downloaded the file, but when I go to unzip it, the file shows as invalid or corrupt. Any thoughts?
  • All I can say (bearing in mind the URL of my site) is Bless you for this!! :) I had a verry old version of WP, and when I went to run the export I received an error message down towards the end of the file, here:
    {
    function export_cat_list()
    {
    global $wpdb;
    $cats = $wpdb->get_results("SELECT cat_ID, cat_name, category_nicename, category_description, category_parent, category_count
    FROM $wpdb->categories
    WHERE cat_ID > 0
    ORDER BY cat_name");
    return $cats;
    }
    }

    I scratched my head, bit the bullet, and simply edited out "category_count". Worked like an absolute charm.

    I really appreciate your efforts with this plugin and utility!!
    Anne
  • Thank you so much, it worked very fine.

    ...after setting the uploads folder to 777. It could be mentioned in the original post, because the error message (from WP) is too mystic...
  • I can't open the file :( It's corrupted. Could you fix it please? I desperately need it!
  • Luana - it's not corrupt but some people seem to have issues with it. Download the tarball instead.
  • I tried downloading the tarball as well, but I got the same problem :( I don't know why...
  • The tarball said to be corrupted, but the zip worked fine...

    $ ls -l
    -rw-r--r-- 1 kpelto users 6987 Feb 26 22:31 wp-xmlmigrate2.tar.gz
    $ gzip -d wp-xmlmigrate2.tar.gz
    $ ls -l
    -rw-r--r-- 1 kpelto users 6964 Feb 26 22:31 wp-xmlmigrate2.tar
    $ tar -xf wp-xmlmigrate2.tar
    tar: Read 6964 bytes from wp-xmlmigrate2.tar
    tar: This does not look like a tar archive
    tar: Skipping to next header
    tar: Error exit delayed from previous errors

    GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu)

    gzip 1.3.5
    (2002-09-30)

    tar (GNU tar) 1.14
  • Same problem as above. Windows says the zip is corrupt, and winzip says the tar is corrupt.
  • Thanks a lot. This made my day! And saved me for a lot of work.
  • Hello - I love WP XML Export and I can think of so many uses for it that I want to AUTOMATE exports and imports between my blogs. In other words, I want to set up a cron job that will cause and export to occur on one site, and a second cron job that will import the same file to another website.

    I use cpanel. Does anyone have a good idea of how this might be done? Would I have to make an export.php file for each individual author? What would the cron job code look like?

    I think its a cool idea, just not sure how to do it.
  • Hi

    I'm having the same problem as DIego, when I try to import I get the message:-

    The uploaded file could not be moved to .

    It looks like a permissions problem but where to start?
  • Hi Aaron,

    Just like to thank you for making this available to everyone. By the way, th plugin doesn't seem to work anymore upon upgrading to the latest version of WP. Just thought you should know. :)

    Will
  • looks like a I have big problem now :( the plugin worked perfectly, but... well, now I can't add any categories as Admin for some reasons o_O nor add users! it says: "You don't have permission to do that." How can I overcome this problem? :(
  • Hey, Aaron.

    This plugin is awesome, just what I was looking for. Looks like you've made a lot of people very happy.

    I was just wondering, does this plugin also have the option of exporting/importing custom fields and post excerpts? Also some plugins create their own tables in the database, does this have the option of exporting/importing those as well?

    Thanks a lot for your time and patience.
  • I'm having a problem exporting from a 2.03 wordpress installation, the xml file is empy, 0k. I'm hosted on mediatemple which uses mysql 3.23 (I think) not sure if that would make a difference.

    Thx, great idea for a plugin btw.
  • Hey, just figured it out, downloaded a few categories at a time, that worked.
  • I needed to export entries from wordpress 2.0.10 into wordpress 2.1.3. Plugin you provieded has the functionality i needed, but the titles of entries didn't export at all (like Simon said). I looked into code of wp-xmlmigrate.php and i changed function the_title_rss into the_title and now the titles of entries goes into xml. I don't know if it's bug in plugin or in wordpress release. Thank you very much for this plugin it's great for migration from 2.0.x into 2.1.x.
  • Worked a treat! Great little plugin... Many thanks
  • Now I thought I would try your plugins to make things work.

    I've installed and activated the plugin, but I really dont know where to look for the plugin's admin page. There's no WP Export option in the Manage menu.

    Is it located somewhere else?

    Sorry to ask this, but I cant find it...

    Thanks
  • thanks, great plugin! works like a charm
  • I'm attempting to export from 1.5.1.3 to 2.1 and having the exact same issue as Amy above. Any suggested fixes?

    Error:

    WordPress database error: [Unknown column ‘category_count’ in ‘field list’]
    SELECT cat_ID, cat_name, category_nicename, category_description, category_parent, category_count FROM wp_categories WHERE cat_ID > 0 ORDER BY cat_name

    Warning: Invalid argument supplied for foreach() in /home/mydomain/public_html/folder/wp-content/plugins/wp-xmlmigrate.php on line 30
  • This is a great plugin... but, I am having a little bit of trouble. Some of the comments above seem to be hinting at the same problem, but I still do not understand how to solve it.

    I go through and use the export feature - end up saving the XML file to my desktop. (It is always the same size - 4.32MB.) Then, I go to the new blog and use the import feature. Everything goes smoothly - it asked me for the author and all that jazz, BUT it only uploads 95 posts of the total ~350. It doesn't seem like 4.32MB is that large a file, so I do not understand why it doesn't upload all of them. I can edit and view all the other posts. They are still in categories - so everything else seems to be working.

    How do I move all of the posts? Is there a step-by-step troubleshooting you can point me to? Anything would help. :)
  • Is it safe to perform another export/import or would that create duplicate posts?
  • Another import actually did produce duplicates, since the post IDs are changed. (Also, if you link to perm-URLs, make sure they are not ID based.)

    Although my export file was relatively small, I think the size was the problem. I ended up deleting all the already imported posts, and ran it again, which allowed me to import the missing posts.
  • So, is another way around the duplicates (besides redoing it all from scratch)? For example, only exporting and/or importing posts with IDs greater than a specified number? Thanks.
  • Many people have mentioned it, but I got to say -- Awesome plugin. I completely liked the respect it showed to the existing entries. In fact that helped me overcome a glitch. I have about 10 categories and 900 posts spread across 2.5 years, and every time I tried to get ALL the categories, the XML only had about 700 posts. I was getting frustrated, but just for the heck of it, I tried the categories separate, and bingo it worked. And I was very happy to see that rest of the posts from OTHER categories were left intact. Took me about 1 hour to figure all these out, but I still got to say -- Awesome plugin.
  • Great plugin.. but I think not compatible with wordpress latest version i.e 2.2
  • I downloaded and installed the Export plugin, but when I activate it, I can't see an Export option in Manage. I am using WP 2.2.1. Any suggestions?
  • Many thanks for this, truly, works seamlessly and saved a lot of time and effort. Five Stars!
  • Just wanted to say thanks for this plugin, and for putting up with everyone's requests for support. I was moving from an older self-hosted version of wordpress to a wordpress.com blog and had the same issue as Anne (#333) with the category_count thing. I removed the category_count and ran the exporter again - no problems at all.

    Thanks again!
  • Nice plugin, thanks for sharing.
    It's very useful for me.
  • Is this plugin compatible with WordPress MU?
  • OMG, it works! I have a free blog at wordpress.com, and I know the first time around, when I try to do the export, and then do the import on my new webhost with new wordpress blog, it didn't work, only some of the posts showed.

    Using this plugin copied everything, and I mean everything! Thank you!
  • One more thing, the comments do copy over, but on the comments, I cannot see the name of the posters because it has this format when I look in the dashboard:

    Because the plugin inserts the , because of those extra symbols, the author or poster's name does not show up. Is there a way around this to fix it, instead of manually editing everything?
  • blast, it doesn't show here, but it has the CDATA code in it. How do I get around this?
  • you're a beautiful person! it worked! thanks!
  • You cannot possibly know how excited I am that this worked... and worked PERFECTLY! Thank you for creating this plugin!!
  • Like others here, I do not see a WPExport option anywhere in the Dashboard/Administration panels. I'm using WordPress 2.2.2.

    Any solutions? Don't keep them a secret!
  • Like Maria, and evidently others, I cannot get my export option to show up anywhere in the Dash administration panels. I'm on WP 2.3.1
  • For those of you having problems with the WP Export option not showing up... here's how I fixed it:

    Go to plugins and click the "edit" button next to the export plugin...

    change the first line of code to something like this:
    if ( ( '2.0' == substr( get_bloginfo('version'), 0, 3 ) ) || ( '1.5' == substr( get_bloginfo('version'), 0, 3 ) ) || 1==1 )

    Note the || 1==1... that's the part I changed.

    Hope this helps.
  • Thank you very much! Your Plugin worked like a charm and saved me quite some time.
  • This worked perfectly; Thanks Mark, for the hack to make it work with the latest version of WP.
  • I made the code changes like Mark says on comment #383, but i can´t choose the categories i would like to export, when i go to Manage->WP Export.

    I´m using Wordpress 2.3.3
  • Hi, I have the same problem as #376, comments are imported without theirs authors

    Any way to fix it ?

    Thanks
  • I also cannot see the WP Export option in my manage menu. I am using wordpress 2.5...and the 1==1 adjustment didn't help.
  • Ok, scratch that....I edited the file locally, not on the server, and only through the edit plugin screen did it work...but now I also can't see the categories to export...
  • Thank you very much for this plugin. Works quite nicely with WP 2.5 (importing from 2.0.2).
  • I wanted say \"thanks\" because this plugin allowed me to migrate a blog from WP 2.0.2 to a newer WPMU installation.

    The only thing that I\'m having trouble with is my blogroll. Have you ever seen a plugin that can export the WP 2.0.2 blogroll to OPML?
  • Thanks for this plugin! Very useful, great work!

    Evan
  • Thanks for this useful plugin.
  • thx for this tips here i test it on my test wp site
  • If you get "The uploaded file could not be moved to..." error, the solution is to set the permissions on the 'wp-content' folder to '777' using an FTP client.
  • Does this plugin allow to import only a few posts or do you have to import/ export all your posts?
  • 2. Upload wordpress.php to wp-admin/import/

    Needs to be

    2. Rename wp-admin/import/wordpress.php to wordpress.old
    3. Upload wordpress.php to wp-admin/import/
  • To use for 2.0+ versions you need to disable these 2 lines at the start of the code:

    // if ( ( '2.0' == substr( get_bloginfo('version'), 0, 3 ) ) || ( '1.5' == substr( get_bloginfo('version'), 0, 3 ) ) )
    // {

    And this line at the second last line of the code:

    // }

    just before the PHP end tag
  • Correction to that last post - I tried it and it doesn't work. Apparently it's not supported for 2.3.3 versions etc. I was trying to use this plugin to migrate from 2.3.3 to 2.2.3
  • Using your plugin, can I select the articles which I want to export import ?
  • Is this plugin compatible with wordpress 2.5? I uploaded the plugin, activated, copied the wordpress.php file to wp-admin/import - but I can't see how to export. I'm trying how to figure out how to export all posts from a single category. Thanks.
  • Of course not, Joanne. The post says it's for WordPress 2.0 and lower and that WordPress 2.1 and higher (this includes WordPress 2.5) has it built in.
  • I didn't know that 1.5.2 blogs still existed any more. But, lo and behold, a client came to me with one!

    I used the method in #333 (actually tried it before I read that) but also I had to reformulate the xml stream. I just changed it to 'text' instead of 'text/xml' because (and maybe it's just safari -- others could be more forgiving) my browser didn't appreciate the format!

    But then it worked.

    Thanks! Cheers!
  • Thank you! Your export plugin saved me from a world of hurt.

    I had an old Japanese blog using Wordpress ME 1.5.1.3. I was lazy and never updated it. Finally a problem bubbled up because of some new database version at my host. I had to do a couple of tweaks suggested by commenters above to get it working.

    First I added the 1=1 trick to the if statement. This allowed the export option to appear because it wasn't there at first.

    Second I had to delete category_count as Anne suggests above.

    After that, the export went fine, and I was able to import everything perfectly into the latest Wordpress 2.6 (Japanese version). PHEW! THANKS AGAIN!
  • This is brilliant, except it only allows me to export an sql file and the Wordpress.com blog I want to import to only allows me to import an wxr file. Help??
  • It doesn't export SQL. It exports WXR. It's also not needed if your blog is
    WP 2.1 or better.
  • Can anybody please help me - I get crazy :(

    I want to import my content from WP 2.0.9 to the latest WP 2.6 which is complete new Website/DB. I created a XML file with this great plugin and copyed the wordpress.php to the folder mentioned above to WP 2.6.

    The import works for the posts, comments and categories. BUT it does not show my static pages which are importent for my website. I saw that the content is inside the DB, but it has the value "post_type" = "post". But shouldn't the sites have the value "page"?
    If anyone can help me - that would be great - it's really frustrating.

    Additional does anybody explain me, how I can export my TAGS from Ultimate Tag Warrior to the new Wordpress installation?
    That's the next step I have to do after the "pages" works ...

    THANKS FOR HELP!
  • Actually, I can see where this might be a problem because, the multiple
    versions of WordPress have introduced post_type='page'. I don't know how
    soon I can release an update. I recommend you checkout WP 2.1 via SVN and do
    the import into 2.1, then upgrading to 2.6.

    svn co http://svn.automattic.com/wordpress/branches/2.1 .

    I recommend doing a dry run of the whole process on a development blog to
    make sure it works properly. In the meantime, I'll try to update this in
    time for WP 2.7.
  • worked like a charm (from 1.5.2 w/ the category_count removed)

    Thank you!
  • Hi.

    I miss the category wise import/export in wordpress's build in importer/exporter. Is it possible to make this plugin work and allow category wise import/export in newer wordpress?

    Thanks for this plugin.

    Best Regards
    JAX
  • Just wanted to say thank you for still having this online!
    After finally deciding to upgrade to 2.6.1 from 2.0.4 I thought I was screwed because of the new database structure, but your plugin made the job soo easy!

    Thanks again and all the best.
  • Excellent
  • I have now twice used this plugin to migrate a blog from an old local Wordpress setup to a new one on Wordpress.com.

    Great plugin, absolutely saves the day.

    Note however that for non-english characters to import correctly, the file that is imported (on Wordpress.com) needs to have UTF-8 character encoding. In my case, both old blogs were in Latin-1.

    Changing a file from one encoding to another is a matter of the operating system and software you have installed on your computer. I used TextWrangler (Mac):
    1. Open file
    2. If characters are all scrambled, choose File > Reopen Using Encoding > The encoding your file has (in my case Latin-1)
    3. At the bottom of the screen click the name of the encoding and select "Unicode UTF-8" instead.
    4. Safe the file

    In Linux, there is a command line tool called 'convmv' and you can do something like:
    convmv -f latin1 -t utf8 FILENAME

    Hope this helps for those that have foregin language blogs.

Add New Comment

Returning? Login