Migrating Content from WordPress to Cosmic JS
Tags: wordpress, javascript, webdev, contentmanagement
Published: 2019-03-01 18:40:45

---
title: Migrating Content from WordPress to Cosmic JS
published: true
description: Cosmic JS is a drop-in replacement for WordPress, providing a web dashboard to create and manage content, and API tools and resources to integrate content into any new or existing website or app. In this blog I'll demonstrate importing WordPress posts into Cosmic JS for integration into a new, modern application. We can accomplish this by simply creating a new Bucket, installing the WordPress Importer Extension and running it. 
tags: wordpress, javascript, web development, content management 
---
![image](https://thepracticaldev.s3.amazonaws.com/i/tgi5j7bdu4nps59eaux8.gif)

Over 30% of the world's websites are powered by WordPress, yet 64% of developers participating in the [2017 Stack Overflow Developer Survey](https://insights.stackoverflow.com/survey/2017) say they dread working with WordPress. Top reasons include security, bloat, bad user experience and that WordPress is built for outdated web architectures. If you are currently using WordPress, you probably share these feelings and know that technical bloat and slow page load speed detract from overall user experience. 

[Cosmic JS](https://cosmicjs.com) is a drop-in replacement for WordPress, providing a web dashboard to create and manage content, and API tools and resources to integrate content into any new or existing website or app. In this blog I'll demonstrate importing WordPress posts into Cosmic JS for integration into a new, modern application. We can accomplish this by simply creating a new Bucket, installing the [WordPress Importer Extension](https://cosmicjs.com/extensions/wordpress-importer) and running it. 

**TL;DR:**
[WordPress Importer Extension](https://cosmicjs.com/extensions/wordpress-importer)
[Performance Case Study: From WordPress to JAMstack](https://cosmicjs.com/articles/from-wordpress-to-jamstack-how-to-make-your-website-10x-faster)


**Create a Bucket**
![image](https://thepracticaldev.s3.amazonaws.com/i/m42nxc2rpvdo1w06d1gt.png)

**Navigate to Settings > Extensions > WordPress Importer Extension**
![image](https://thepracticaldev.s3.amazonaws.com/i/o1qlil8cmrm429t1602g.png)

**Install the WordPress Importer Extension**
![image](https://thepracticaldev.s3.amazonaws.com/i/r8as4kl7eniq38zzr1x6.png)

**Add your WordPress Blog Feed URL**
![image](https://thepracticaldev.s3.amazonaws.com/i/oe0x8gnsf2vtivw836g0.png)

**Import WordPress Content**
![image](https://thepracticaldev.s3.amazonaws.com/i/vf94c6o0w7jup019uvzg.gif)

**Posts Imported Success Screen**
![image](https://thepracticaldev.s3.amazonaws.com/i/k2djheewa457riew55jt.png)

**Migrated WordPress Posts in the Cosmic JS Dashboard**
![image](https://thepracticaldev.s3.amazonaws.com/i/4niphq39oy2fk9pupjcy.png)

**Integrate content using the NPM Module, GraphQL, Bash or Curl**
![image](https://thepracticaldev.s3.amazonaws.com/i/gfj34v685o26tu0c8kyb.png)

Now that our WordPress posts are imported into Cosmic JS, we can check out our content models and prepare the content for integration into a new application using code snippet resources for JavaScript, GraphQL, Bash or Curl. You can easily install a content-ready application from the [Cosmic JS Apps Marketplace](https://cosmicjs.com/apps) and import your WordPress posts for deployment with Netlify to measure the page load speed increase. 


**Conclusion**
Liberating developers and content creators from WordPress is a big goal, and the WordPress Importer Extension is a neat tool to help illustrate how flexible, portable and scalable your content becomes when managed with Cosmic JS. If you have any comments or questions about migrating your WordPress content to Cosmic JS, [reach out to us on Twitter](https://twitter.com/cosmic_js) and [join the conversation on Slack](https://cosmicslack.now.sh).