There are a lot of websites made with Wordpress out there and it’s becoming more and more difficult to manage and maintain them for developers and content creators.
If you have some projects that are currently using Wordpress you can now import them to DatoCMS in a pretty simple way.
To import your Wordpress site to DatoCMS you’ll need: 1. Your Wordpress user name and password with admin privileges 2. Your Wordpress site URL 3. Your DatoCMS site full-access API token (You can find it under Settings > Permissions > API tokens)
Install the latest datocms-client package with NPM:
npm i datocms-client
Run the following command in your console:
./node_modules/.bin/dato wp-import --token=<YOUR_DATO_API_TOKEN> --wpUrl=<YOUR_WORDPRESS_PROJECT_URL> --wpUser=<YOUR_WP_USERNAME> --wpPassword=<YOUR_WP_PASSWORD>
That's it! The importer will create the standard Wordpress models: articles, pages, authors, categories and tags. All the Wordpress media files will be uploaded to your DatoCMS project in the media gallery as well. Hurray!
We hope that this importer will help many to discover again how exciting can be to develop a modern digital project. With DatoCMS you’ll realize that you can update and create new features for any site you had running on Wordpress and for editors and content creators to work in an environment where it’s easy to collaborate.