• I exported an entire blog to migrate it to a new host and when imported, my titles lost their formatting and multi-language sections.

    They went from this:
    [lang_en]supplement: <strong>DE-LINKING FROM CAPITAL AND THE COLONIAL MATRIX OF POWER</strong>[/lang_en][lang_si]priloga: <strong>RAZVEZA OD KAPITALA IN KOLONIALNE MATRICE MO?I</strong>[/lang_si]

    …to this:
    supplement: DE-LINKING FROM CAPITAL AND THE COLONIAL MATRIX OF POWER

    Bug or feature? Workaround? Any official word?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Been there. Done that. That was, in fact, the first time I touched WordPress. Lesson learned: Export doesn’t capture everything.

    I’ve done lots of moves since then, and I think this is the best thing to read: https://codex.www.ads-software.com/Moving_WordPress#Moving_WordPress_to_a_New_Server

    Conceptually, to move a blog to a new host, you should be backing up and restoring two things: (1) the WordPress database; and (2) the WordPress files (i.e. – the entire folder where WordPress is stored).

    I’m consolidating several standalone WordPress installs into one WordPress multisite install. The instructions at https://codex.www.ads-software.com/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisite are what I’ve been following, but I’ve been running into the exact problem the original poster described. Is there a way to force Export to export the title?

    I found a solution to this problem (sort of). In export.php, the line that looks like this:

    <title><?php echo apply_filters('the_title_rss', $post->post_title); ?></title>

    strips out the additional formatting. I removed the filter ‘the_title_rss’ and everything exported perfectly.

    I say this is only sort of a solution because I don’t want to have to make changes to the core WordPress files. After making this change, then exporting, I changed it back.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Title formatting lost during export-import’ is closed to new replies.