The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Moving from wordpress.com to self-hosted wordpress (11 posts)

  1. TechZ
    Posted 8 years ago #

    Hi folks...basically after a few hours or trying to fix this myself, I've reached no further than when I started, so here's the situation:

    *Original blog hosted on wordpress.com
    *Exported using WP's built in utility to a 4.7MB XML file i.e. WordPress eXtended RSS file
    *New blog up and running, no changes whatsover, the original Welcome post + comment still there
    *Manage-->Import-->WordPress to import the 4.7MB XML file, error because it can only accept 2MB max file size, so I zip it and it takes it happily, prompts for which user to assign it to and thus says the process is complete "Have Fun" ...not so simple.

    Browse to the blog and its still the same as before, no change whatsoever.

    Check phpmyadmin, no db updates

    Check permissions in wp-content and for htaccess as per the Codex recommendation, all as per guidelines.

    Try and make a fresh XML file, still no go.

    So, now I'm hoping there's a really simple thing I've overlooked to solve this issue.

  2. Chris_K
    Posted 8 years ago #

    Since WP probably doesn't know what to do with a .zip file, that might not have been the solution you were after. ;-)

    Any chance you can get your host to get you more than a 2MB upload size?

    If not, you might have to bust out the editor and see if you can break the one big wxr file down into a couple smaller pieces.

  3. TechZ
    Posted 8 years ago #

    Hi HandySolo, thanks for the reply.

    It's not my host that is limiting the upload to 2MB, it's wordpress itself.

    The other solution you mention of breaking it down, it's an XML file and I wouldn't know what way WP requires me to split the file up.

  4. Chris_K
    Posted 8 years ago #

    It's not my host that is limiting the upload to 2MB, it's wordpress itself.

    Nope. Unless something changed recently, WP doesn't care how big uploaded files are. PHP does though. Unless you have access to php.ini, you'd have to work with your host to increase it.

  5. TechZ
    Posted 8 years ago #


    I just checked with someone on a totally different host, it appears they have that same limit too.

    It seems it's a limit on the host, I just checked the PHP Info page.

  6. Chris_K
    Posted 8 years ago #

    For what it is worth, mine says:

    Choose a file from your computer: (Maximum size: 7m )

  7. TechZ
    Posted 8 years ago #

    Thanks a bunch, I guess I was looking in the wrong place all along, going to email my host now!

  8. Chris_K
    Posted 8 years ago #

    I'm not a real .htaccess wizard... (hint: save a copy of your .htaccess first!) but I wonder if you added this to yours:

    php_value upload_max_filesize 10M

    Perhaps that would override?

  9. TechZ
    Posted 8 years ago #

    After MUCH reading, I found out how to 'get' the hosts php.ini file via a script and make a new one with changes that allow me to upload the WP XML file.

    Finally it started uploading well, and then this error:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/techznet/public_html/wordpress/wp-includes/plugin.php on line 139

    which is wrong because its actually again a php.ini limit...SO back to remaking the new ini file with the exec time raised to 300..

    Re-upload the XML file, errors at a 2 lines in wordpress.php but keeps on going, but since there are a few 1000 images that were uploaded in the wp.com blog it ends prematurely...so a few refreshes later it finally uploads the file and completes the import...all well and good I say.

    Next it decides to totally screw up the blog by assigning each image an ID, as if it were a post...adding the 1000s of images to the Manage-->Upload section as blank attachments linking to non existant files. This in turn totally makes browsing through older posts a hassle especially with themes using an ajax based 'live' archives, as each of the pictures is treated as a post.

    The Dashboard cannot display the commentors names as well.

    pic 1

    pic 2

    So going to try and get wp.com to export us the XML after deleting all the uploaded images, which we plan to host on a subdomain and link without using the built in WP upload interface.

    Complicated, and time-consuming :)

  10. muhtar
    Posted 8 years ago #

    A little bit complicated but i hope it helps:


  11. TechZ
    Posted 8 years ago #

    that's actually a brilliant idea muhtar, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.