WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Importing WordPress eXtended RSS (WXR ) (6 posts)

  1. sahaskatta
    Member
    Posted 5 years ago #

    I am attempting to setup a beta Word Press blog to test some plugins and themes before I publish them on my actual site ( http://skattertech.com ). However I have run into an issue with the WordPress importer.

    My blog's export file size is over 7MB, however the importer seems to only allow 2MB. I have attempted to split the file into multiple pieces and try that, however that doesn't seem to work.

    How would I go about importing my blog so that I can run a beta version of my site hidden on my server for testing purposes?

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    however the importer seems to only allow 2MB

    Increase the upload size settings in your PHP installation. Specifically, post_max_size and upload_max_filesize.

  3. sahaskatta
    Member
    Posted 5 years ago #

    Hey Otto42,
    (Thanks for the extremely fast reply!)
    Unfortunately my hosted server has a limit which is much lower than 7.5MB which I would need to successfully re-import that file. Is there any other work around? I noticed that the Word Press allows uploading the exported file to a FTP directory for Movable Type / Type Pad, however not for WXR files. Is there a way I could do that?

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 5 years ago #

    No. But, if you gzip the file and upload it, it will work *if* your server has the zlib extension installed. Most do. This will usually get the file under 2 megs.

    Alternatives:
    a) talk to your host, get them to increase the limit, or
    b) find out from them how to increase it yourself (most do have a way) or
    c) split the file up into pieces. If you look at it in a text editor, you'll see that it's basically an RSS feed. If you split those individual item's out into a few separate files, and copy the surrounding channel stuff into each of those, then you can import them separately.

  5. sahaskatta
    Member
    Posted 5 years ago #

    Thank you very much for the solutions. I ended up using 7-zip to GZIP my exported file. It brought the 7.5 MB file down to just 1.5MB. The Beta Word Press was able to import that with no issues what so ever.

    I hadn't used these forums in a while, but I gotta say you are doing an excellent job in resolving issues people have in addition to moderating everything! Thanks for all the help! Keep up the good work!

    - Sahas Katta
    - http://skattertech.com

  6. hbcusportsblog
    Member
    Posted 4 years ago #

    Increase the upload size settings in your PHP installation. Specifically, post_max_size and upload_max_filesize.

    Where can I find this file to change the settings?

Topic Closed

This topic has been closed to new replies.

About this Topic