How to increase wordpress import file size from 2MB?

increase wordpress import upload limit

How to increase wordpress import file size from 2MB?

How to increase wordpress import file size from 2MB?

Hacking of a website has become more frequent these days and it causes sever damage to your site. One of the major setbacks are being black listed by search engines and the social media sites like facebook etc. which can drastically reduce your website rankings. So we look for getting our site recovered with maximum possible content into its former original form.

Website backup is the most important thing to do while counting on safety measures. WordPress provides an export and import tool which allows you to make backup of your site content and download it to your pc. These files usually take some small MBs of data and save the posts and pages etc of the website.

Advertisement

This only backs up the posts and pages so you make your you save your media content separately as a extra safety measure.

Now when you download the xml file by using the export tool in the wordpress tools,  it sometimes takes more size than 2mb which is the upload limit of the wordpress import tool. When you upload the file , it says maximum upload size reached. So we look for how to increase wordpress import file size from 2MB?

Follow the following steps to solve this problem.

increase wordpress import upload limit

  • Get into the File Manager through Cpanel.
  • Then open the folder wpadmin.
  • Make a new file with name”php.ini”.
  • Paste the following code in the edit file.

upload_max_filesize = 32M

post_max_size = 32M

  • Save the file and you are good to go!
  • Now go to the import tool in the worpdress.
  • Upload the xml file, now the limit will be 32mb.

Try this method give your feedback below in the comments. If you have further queries, feel free to express yourself.

Leave a Reply

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