Title: XML import to WordPress multisite
Last modified: September 1, 2016

---

# XML import to WordPress multisite

 *  Resolved [worapongni](https://wordpress.org/support/users/worapongni/)
 * (@worapongni)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/xml-import-to-wordpress-multisite/)
 * Hello,
 * I would like to import XML file from a single site (localhost WordPress version
   4.5.3) to multisite (online WordPress version 4.6). Unfortunately, I found some
   problems. It can import only “Post”, but it cannot import the others, such as
   Media, Post translation, Term Translation, and Term language.
 * These are the things that I already worked.
 * 1. .htaccess
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
   
       # add a trailing slash to /wp-admin
       RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule ^ - [L]
       RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
       RewriteRule ^(.*\.php)$ wp/$1 [L]
       RewriteRule . index.php [L]
   
       </IfModule>
   
       # END WordPress
       ```
   
 *     ```
       2. I set php.ini as following (follow from Hostgator instruction)
       ```
   
 * upload_max_filesize = 64M
    post_max_size = 64M ` 3. Change some XML file from
   localhost to [http://subdomain/domain.com](http://subdomain/domain.com) (for 
   example) and change the URL media link from /wp-content/uploads/2016/07/ to /
   wp-content/uploads/sites/2/2016/07/.
 * Could you please advise me what could I do next?
 * Regards,
    Worapong

Viewing 1 replies (of 1 total)

 *  Thread Starter [worapongni](https://wordpress.org/support/users/worapongni/)
 * (@worapongni)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/xml-import-to-wordpress-multisite/#post-7710824)
 * Hello,
 * Now, I work with brasofilo answers. It helps me solve the problem.
 * [http://wordpress.stackexchange.com/questions/87395/import-media-to-online-wordpress-from-local-development](http://wordpress.stackexchange.com/questions/87395/import-media-to-online-wordpress-from-local-development)
 * Regards,
    Worapong N.

Viewing 1 replies (of 1 total)

The topic ‘XML import to WordPress multisite’ is closed to new replies.

## Tags

 * [Import](https://wordpress.org/support/topic-tag/import/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)
 * [xml](https://wordpress.org/support/topic-tag/xml/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 1 reply
 * 1 participant
 * Last reply from: [worapongni](https://wordpress.org/support/users/worapongni/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/xml-import-to-wordpress-multisite/#post-7710824)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
