I have my blog on wordpress.com, I want it to be moved on self hosted server.

I have exported data from my wordpress.com blog to XML file, However, When I went to import the data to my self hosted wordpress installation it says file must not be greater than 15MB and my file is of 2257 MB

How do I go to import such a large file?

2 Answers 2


you should try splitting the file with this tool. I used it several years ago and hopefully it still works with the current export file format.

After splitting you import each of the generated files.


Have you tried increasing the max upload size of wp??? you can increase it many ways given below are few Adding following code in theme’s functions.php file, you can increase the upload size:

@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

Create or Edit an existing PHP.INI file

upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300

htaccess Method

php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.