Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7775985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:45:45+00:00 2026-06-01T17:45:45+00:00

A previous developer had a built a website that includes literally thousands of news

  • 0

A previous developer had a built a website that includes literally thousands of news & events items. The problem is that he had created the database to work with his own CMS. We are now using WordPress so want to migrate this data into the WP database.

The problem is that the data is slightly different and will need some manipulating before it can be imported. Does anyone have a suggestions of an easy way to do this?

I need the old data from the original database to be in the format of the new WordPress database. Please bear in mind that there are literally hundreds of entries so it’s not a copy and paste job!

I’ve exported the examples as XML (CSV when exported was all over the place):

This makes up an event in the original custom CMS:

  <database name="medicom_medi">
    <!-- Table myevents -->
    <table name="myevents">
      <column name="id">13</column>
      <column name="title">This is the title</column>
      <column name="description">This is the content</column>
      <column name="mediwales_event">0</column>
    </table>
  </database>
  <database name="medicom_medi">
    <!-- Table myevents_dates -->
    <table name="myevents_dates">
      <column name="id">22</column>
      <column name="eventid">13</column>
      <column name="datefrom">2011-01-31 00:00:00</column>
      <column name="dateto">0000-00-00 00:00:00</column>
      <column name="venue">PA Consulting Group</column>
      <column name="address">123 Buckingham Palace Rd, London SW1W 9SR</column>
    </table>
  </database>

This is the format I need the data to be in inside WordPress:

<database name="medicom_v3">
    <!-- Table wp_posts -->
    <table name="wp_posts">
        <column name="ID">3871</column>
        <column name="post_author">1</column>
        <column name="post_date">2012-04-10 10:00:34</column>
        <column name="post_date_gmt">2012-04-10 10:00:34</column>
        <column name="post_content">Testing</column>
        <column name="post_title">Test event 2</column>
        <column name="post_excerpt"></column>
        <column name="post_status">publish</column>
        <column name="comment_status">closed</column>
        <column name="ping_status">closed</column>
        <column name="post_password"></column>
        <column name="post_name">test-event-2</column>
        <column name="to_ping"></column>
        <column name="pinged"></column>
        <column name="post_modified">2012-04-10 10:00:34</column>
        <column name="post_modified_gmt">2012-04-10 10:00:34</column>
        <column name="post_content_filtered"></column>
        <column name="post_parent">0</column>
        <column name="guid">http://www.mediwales.com/v3/?post_type=tribe_events&amp;#038;p=3871</column>
        <column name="menu_order">0</column>
        <column name="post_type">tribe_events</column>
        <column name="post_mime_type"></column>
        <column name="comment_count">0</column>
    </table>
</database>
<database name="medicom_v3">
    <!-- Table wp_postmeta -->
    <table name="wp_postmeta">
        <column name="meta_id">14580</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventShowMapLink</column>
        <column name="meta_value">false</column>
    </table>
    <table name="wp_postmeta">
        <column name="meta_id">14581</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventShowMap</column>
        <column name="meta_value">false</column>
    </table>
    <table name="wp_postmeta">
        <column name="meta_id">14582</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventAllDay</column>
        <column name="meta_value">yes</column>
    </table>
    <table name="wp_postmeta">
        <column name="meta_id">14583</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventStartDate</column>
        <column name="meta_value">2012-04-17 00:00:00</column>
    </table>
    <table name="wp_postmeta">
        <column name="meta_id">14584</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventEndDate</column>
        <column name="meta_value">2012-04-17 23:59:59</column>
    </table>
    <table name="wp_postmeta">
        <column name="meta_id">14585</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventVenueID</column>
        <column name="meta_value">0</column>
    </table>
    <table name="wp_postmeta">
        <column name="meta_id">14586</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventCost</column>
        <column name="meta_value"></column>
    </table>
    <table name="wp_postmeta">
        <column name="meta_id">14587</column>
        <column name="post_id">3871</column>
        <column name="meta_key">_EventOrganizerID</column>
        <column name="meta_value">0</column>
    </table>
</database>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:45:46+00:00Added an answer on June 1, 2026 at 5:45 pm

    Since it was a home-made CMS, you most likely won’t find any tool to translate all that code into WordPress format.

    I would make your a script (php or whatever) that will convert this huge dump.
    I think WordPress (or plugins) can read XML so you just have to adapt the structure and keys.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a custom attribute that our previous developer (recently disappeared) has created in
From previous experience I had been under the impression that it's perfectly legal (though
In previous question of mine, someone had meantioned that using Semaphores were expensive in
I recently had to work on a project where the previous developer modified the
I have inherited a few programs from a previous developer who was a little
I've got an SDK I'm working on and the previous developer just dropped the
I have taken over some code from a previous developer and have come across
Brief backstory, our previous developer used ASIHTTPRequest to make POST requests and retrieve data
I've inherited a site from a previous (no longer available for help) developer and
I previous recieved help with a problem, getting a multiple option select form to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.