Tools > Import WordPress does not allow XML file over 2 MB

How do I change the Import WordPress limit of 2 MB for uploading an XML file? Searched everywhere – most people talk about increasing limits in php.ini or .htaccess. Both are unrelated to this issue, and do nothing to the screen which looks like this in WordPress 3.8.1:

enter image description here

Read More

This video is the only apparent fix: http://www.youtube.com/watch?v=lZsXQ1KrObU

It shows exactly my problem, and how to solve it. Unfortunately – it doesn’t change anything in WP 3.8.1. I’m amazed this hasn’t been addressed.

Related posts

Leave a Reply

2 comments

  1. Found the answer. Create a php.ini file in the /wp-admin directory with the following code:

    upload_max_filesize = 64M
    post_max_size = 64M
    

    It won’t work if the file is in the root directory.