How to Import Large WordPress XML File

Jul 15, 2011   //   by admin   //   WordPress  //  No Comments

 

WordPress is the best Blogging platform. You can use WordPress hosted blog for free or you can purchase your own hosting for WordPress Blog. By default, many web hosts have put 2mb import file limit for WordPress.

I have got a proper solutions to change the Import size limit of self hosted WordPress blog. You can change 2MB import limit of WordPress to 8MB, 16MB, 32MB, 64MB or even 320MB.

Solution 1

Change the following parameters to your php.ini file (can be located at public_html folder)

php_value upload_max_filesize 2M
php_value post_max_size 2M
php_value max_execution_time 200
php_value max_input_time 200

If you dont know either php.ini file exists or not in your domain root folder (public_html) then simple create a php.ini file, edit in Notepad and copy-paste above given values and upload in public_html folder

Solution 2

Paste below given code in .htaccess file of your WordPress blog
# BEGIN WordPress
#Change upload limits
php_value memory_limit 320M
php_value post_max_size 320M
php_value upload_max_filesize 320M
php_value max_execution_time 6000
#Change upload limits end
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Leave a comment

 

Sponsors