• Resolved worapongni

    (@worapongni)


    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 (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)
Viewing 1 replies (of 1 total)

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