Title: Error when importing WP .xml file
Last modified: September 19, 2018

---

# Error when importing WP .xml file

 *  [dariaayu](https://wordpress.org/support/users/dariaayu/)
 * (@dariaayu)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/)
 * Hi everyone,
    I am trying to support an user (with administration rights in her
   own blogs) using the import function in WordPress to import an .xml file that
   was previously exported in the same multisite installation from another blog,
   and she keeps receiving the same message each time she tries to import it in 
   a new blog: it says that the file does not exist. I have also tried to do it 
   as administrator of the system and does not work either. However, when I try 
   to import the same file in another blog in which that user is not a member, that
   works. Someone has some idea of how I can solve that? I do not have permissions
   to the hosting.
 * Thank you very much.
    Best regards

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [befiveinfo](https://wordpress.org/support/users/befiveinfo/)
 * (@befiveinfo)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-10736069)
 * Hello, do you see a message like:
 * “The link you followed has expired.
 * Please try again.”
 * And after you click on the try again link, do you see this message in the following
   page?
 * “Import WordPress
    Sorry, there has been an error. File is empty. Please upload
   something more substantial. This error could also be caused by uploads being 
   disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize
   in php.ini.”
 *  [zaea](https://wordpress.org/support/users/zaea/)
 * (@zaea)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-11140387)
 * [@befiveinfo](https://wordpress.org/support/users/befiveinfo/) That’s the error
   I’ve been getting, and my host can’t seem to figure out why either. Sounds like
   you know the solution?
 *  [befiveinfo](https://wordpress.org/support/users/befiveinfo/)
 * (@befiveinfo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-11140781)
 * Sorry but I cannot remember which site it was and why I was having the problem.
 * Just out of curiosity, what theme are you using?
 * What I can suggest you is to deactivate all the theme and plugin, and try again.
 * I think that there was once a case when check_admin_referer causes a clash at
   wp_update_nav_menu_item hook in the course of wordpress-importer trying to import
   contents. The action hook function needs to do “return” immediately if the hook
   was called during ajax.
 *  [zaea](https://wordpress.org/support/users/zaea/)
 * (@zaea)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-11141128)
 * [@befiveinfo](https://wordpress.org/support/users/befiveinfo/) It’s the Authentic
   them by Code Supply.
 * I tried using a fresh WP install and couldn’t get it to work either. Guess I’ll
   have to manually copy and paste each post over. /:
 *  [befiveinfo](https://wordpress.org/support/users/befiveinfo/)
 * (@befiveinfo)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-11141275)
 * [@zaea](https://wordpress.org/support/users/zaea/)
    It might be solved by configuration,
   e.g. changing amount of allocated memory etc.
 * Please have a look:
    [https://jp.godaddy.com/community/Using-WordPress/Wordpress-theme-upload-error-quot-The-link-you-followed-has/td-p/101292](https://jp.godaddy.com/community/Using-WordPress/Wordpress-theme-upload-error-quot-The-link-you-followed-has/td-p/101292)
 * If it does not work, please let me know. I might be able to help you.
    twitter
   [@befiveinfo](https://wordpress.org/support/users/befiveinfo/)
    -  This reply was modified 7 years, 4 months ago by [befiveinfo](https://wordpress.org/support/users/befiveinfo/).
 *  [xaver06](https://wordpress.org/support/users/xaver06/)
 * (@xaver06)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-11512551)
 * I just exported my xml file and tried to import it in a fresh “local” installation.
   the php.ini was modified due to other problem-solving suggestions.
 * (1) the import needs quite a long time (for just 4,4mb)
    (2) the display keeps
   empty and suddenly – following errors occur
 *  – failed to import post tags
    – some media files already were imported – The
   Link expired
 * Following the Link all suggested solving are already done.
    Any advice?
 *  [xaver06](https://wordpress.org/support/users/xaver06/)
 * (@xaver06)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-11512562)
 * I also upgraded the PHP memory_limit to 128mb

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Error when importing WP .xml file’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-importer/assets/icon.svg?rev=2791650)
 * [WordPress Importer](https://wordpress.org/plugins/wordpress-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-importer/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [xaver06](https://wordpress.org/support/users/xaver06/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/error-when-importing-wp-xml-file/#post-11512562)
 * Status: not resolved