Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Split WordPress XML files for upload to servers Internet
I've been doing some work on my website, Kirkville, changing to a new theme. In order to test the theme, I set up a staging server, and wanted to import my existing posts, comments, etc. so I could fiddle with the new theme.

I'm not SQL-savvy, so it seemed the best bet was to use WordPress's export/import feature, through its wordpress-importer plugin. This requires exporting an XML file of the WordPress content from the current server, then importing it on the staging server. Unfortunately, I was hit by that problem where my hosting company has uploads limited to 8 MB, and my WordPress XML file was 10.9 MB.

When I went looking for solutions, I found a number of posts on the WordPress forum suggesting splitting the XML file. I wasn't sure how to do this safely, but found a free Mac utility called WXR Splitter. Running this tool, I split the XML file into two pieces, with a maximum of 6 MB each. I was able to upload the XML file, and get to work with my new theme.
    •    
  • Currently 2.00 / 5
  You rated: 2 / 5 (5 votes cast)
 
[6,570 views]  

Split WordPress XML files for upload to servers | 1 comments | Create New Account
Click here to return to the 'Split WordPress XML files for upload to servers' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Split WordPress XML files for upload to servers
Authored by: fferitt25 on Aug 09, '13 11:00:34AM

2 options here easier than finding a 3rd party tool to split an XML file:

1 - it's plain text - open it in a text editor and copy / paste half to a 2bd Files - Save with an XML extension - upload both.

2 - ZIP the File up. (compress it) - then upload the ZIP - most Servers can handle decompression on the fly whether theyr'e ASP (since you mentioned SQL) or PHP or Coldfusion - the fucntionality is built in.



[ Reply to This | # ]