Import failed for WordPress XML file?

This will happen if you used WordPress Export and Import tool for WordPress to WordPress migration, you might/might not faced this problem when you migrated your WordPress from 1 server to another server but this is good for your knowledge.


I would like to migrate my WordPress blog from to my domain such as

1. I will go to administrator and export the data file to XML format to my local PC.
2. I will go to administrator to restore it.

I got “timed out” where the XML is not fully restore.

Solution suggested by Mick Genie:

– Change the following value from your PHP.
memory_limit = 512M
default_socket_timeout = 600
pfpro.defaulttimeout = 600

Redo the import again and it should working or you may increase the number of the PHP value to higher value.

For Apache server, you may change the value from .htaccess file as below.
php_value memory_limit 512M
php_value default_socket_timeout 600
php_value pfpro.defaulttimeout 600

For suPHP server, you may directly change the value from the php.ini file as below
memory_limit = 512M
default_socket_timeout = 600
pfpro.defaulttimeout = 600

Published by

Mick Genie

Mick Genie is the founder of and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.