Migrating content from custom made cms to WP?

[ad_1]

Hi. I've recently come to a job offer that requires me to build a new WP site, but migrate content (posts, images) for a custom made cms. That custom made cms doesn't have such an option as exporting data. Is there any relatively easy way to do this?
Thx

[ad_2]
3 Comments
  1. How is data stored in the custom CMS? Can you get the data out of the database in either CSV or XML format? I’ve found [WP All Import](https://www.wpallimport.com/) works really well if you can get XML data and ok if you can get CSV based data.

    Most MySQL database programs like Navicat, etc can do an export of a database as XML which would probably be the best option for working with data from the CMS.

    As far as images, you can copy those off of the old server and place them on your server somewhere, then update the file paths in the .xml file you feed to WP All Import.

  2. Yes I would say using WP CLI, is the easiest way, I once wrote a script to migrate from WordPress to Processwire, what you would do, is get the details from the custom cms in WP Script, then loop over all the content and save to WP using `wp_insert_post` rather than the database.

    is the custom CMS written in PHP ?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer