WordPress.org

Ready to get started?Download WordPress

Forums

Export>Import loses part of the content (2 posts)

  1. Carlo Rizzante
    Member
    Posted 11 months ago #

    Hello,
    I moved a site across two Multisites. The primary site of the first network has to be temporarily imported into an other multisite for backup purposes and future verification, since I wish to reset the original WP installation and re-import all the posts.

    I noticed that even if the Export/Import procedure apparently goes smooth, the posts are now missing part of their content. An example:

    From:

    [sourcecode language="xml"]
    <body class="archive category category-rejser category-13">
    <!-- few lines after... -->
    <article id="post-139" class="post-139 post type-post status-publish format-standard hentry category-rejser post-body">
    [/sourcecode]

    To:

    [sourcecode language="xml"]
    
    <!-- few lines after... -->
    <article id="post-139" class="post-139 post type-post status-publish format-standard hentry category-rejser post-body">
    [/sourcecode]

    In some cases the missing parts are more conspicuous.

    Also, all the images contained in the posts still point to the domain of origin. And indeed the Media panel is empty. In fact, no pictures have been imported.

    Do you have any idea why this is happening? Or would you suggest any alternative method for exporting / importing a site across different multisites?

    Thanks in advance :)

  2. Carlo Rizzante
    Member
    Posted 11 months ago #

    A collateral question about duplicating a SQL database.

    I followed the instruction found on http://codex.wordpress.org/Backing_Up_Your_Database so, from phpMyAdmin I exported the main database and once downloaded it in gzip, I created a new database and user via MySQL® Database Wizard on cPanel, and I imported the gzip into this one.

    Then I duplicated the wp-config.php and I changed user, database name and password for the database, so that to use the copied db.

    I was expecting the two databases to be equal, therefore to be able to navigate the original website as previously. Instead opening the homepage I get a redirection issue and I end up on http://carlorizzante.com/wp-signup.php?new=carlorizzante.com, in place of simply http://carlorizzante.com.

    What did go wrong exactly during the export and import of the SQL database? That's the only thing that changed.

    Thanks in advance, I am such a newbie on this things :-/

Reply

You must log in to post.

About this Topic