Import WordPress: Importing exported XML file that is more than 2 MB in size

Import WordPress

Howdy! Upload your WordPress eXtended RSS (WXR) file and we’ll import the posts, pages, comments, custom fields, categories, and tags into this site.

Choose a WXR (.xml) file to upload, then click Upload file and import.

Choose a file from your computer: (Maximum size: 2 MB)

 

Import WordPress

Sorry, there has been an error.
File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.

 

PHP INI would be at: c:/wamp/bin/apache/apache2.4.4/bin/php.ini

image

 

In Php.INI: You can set the max size for upload file and the Post sizes as shown below:

; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 200M

 

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
; http://php.net/file-uploads
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
; http://php.net/upload-tmp-dir
upload_tmp_dir = "c:/wamp/tmp"

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 50M

 

Then bounce all the services once and you’ll be able to see the change being reflected on the import page:

Import WordPress

Howdy! Upload your WordPress eXtended RSS (WXR) file and we’ll import the posts, pages, comments, custom fields, categories, and tags into this site.

Choose a WXR (.xml) file to upload, then click Upload file and import.

Choose a file from your computer: (Maximum size: 50 MB)

image

 

Now, you’ll be able to upload any size .XML file to import your heavy word press blogs.

Leave a Reply

Your email address will not be published. Required fields are marked *