Follow us on Facebook

Increase Blog Import Limit of WordPress


WordPress is widely used 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. We export the posts or data of our WordPress blog and when needed we import in to any other wordpress blog. If export file is less than 2MB in size then wordpress will easily import the blog BUT it will not import the large WordPress xml files which are more than 2MB in size.
When people see this problem of Maximum size: 2MB (i.e. WordPress 2MB file upload limit ) But they want to import a wordpress export file which is more than 2MB in size then they normally search for ‘split large size wordpress exported files’ they keep searching but get no proper solution to increase the import file size of WordPress. You may get some tricks to split wordpress big size export files into 2mb or less BUT this trick be time consuming.
 
I have got a proper solutions to change the Import size limit of self hosted WordPress blog. Yes! 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


1st Method worked for me and 2nd is recommended by my techie friend.

1 comment:

  1. Nice post i get good exprience from the post... waiting for new one. wordpress is the best CMS i think.
    wordpress seo plugin reviews
    wordpress security plugin

    ReplyDelete

About

Followers

Like Us

Labels

Donate us For Furture