Migrating from Wordpress to EmDashCMS

Up for a new challenge? Why not give EmDashCMS a try? This is my experience migrating away from Wordpress to EmDash CMS. This is also my first writing experience using EmDash! (All other posts on here are migrated from wordpress.)
Why Migrate Away from Wordpress
A few reasons actually. One the biggest reasons is that the blog was stuck on PHP 7.4.x and upgrading to the latest version of Wordpress was blocked. I didn’t really want to do that because it meant spinning up another vultr instance. I knew staying on an outdated version of wordpress is a ticking time bomb waiting to explode … so I knew I had to move onto something sooner rather than later.
If I stay with Wordpress. I have to worry about future updates and plugins. Potential 0-day vulnerabilities with PHP in the age of AI agents and hacking which is only going to get worse. Why deal with that on a simple blog?
The actions of the current CEO, Matt Mullenweg, of Automattic are truly egregious. To attack WPEngine. Threaten them and demand 8% of their gross revenue. Block WPEngine’s access to Wordpress. Seize control of plugins illegally. And that’s just a quick summary on his actions. He will cost Automattic millions of dollars in damages and attorney fees. For no reason other than he has an ego and thinks he is somehow vital to the success of wordpress. He is not.
I just can’t support a platform who has such a shitty person in charge of it. He’s singlehanded killing Wordpress and its reputation. (Note the footer here)
Finally, EmDashCMS is completely different than wordpress and runs on cloudflare workers. Seemed like a fun way to spend a few hours and learn about something new.
Prepping to Migrate
I thought migrating would be fairly straightforward but I hit a bunch of snags because of my outdated version of wordpress.
I used Google Carbon AI to help me with the migration. I highly suggest you utilize an AI to help you as well.
I could not install the recommended plugin on the migration guide because my version of PHP was not supported. So, I copied the database and the uploads folder. Then I ran the Export function insode of Wordpress. I think it can be found under Settings → Export. This generates an XML file which you need to import into EmDash later.
It turns out I did not need the database export or the uploads folder copied. The only thing I needed was the XML file.
Once you have this file ready. Then start chatting with your AI to start the install process of EmDashCMS.
Installing EmDashCMS
The installation itself is a bit more complicated than I thought it would be to be quite honest with you. I am not going to go through the whole process step by step. Just a few aspects of it.
You should be comfortable with command line. Have Node and NPM already installed. I suggest also installing NVM so you have version control over Node. It requires Node v24 if I recall.
The entire ‘installation’ process happens locally on your computer. You also need a Cloudflare account and have to enable certain billable features for storage and workers. But not to worry. If your blog gets little to no traffic then it should cost you nothing to host your blog.
Also, if you use the flat Export XML file via wordpress. Make sure to keep your previous blog live on the web so it can download each file from the uploads folder.
Issues I ran Into
There were a few issues I ran into during the migration and testing the blog.
First, was the issue of links to the images. On my export file it used an IP address in some places instead of the domain. This caused images not to download properly and I ended up with 404 errors for missing images. AI helped me fix this problem with a regex and I created a new clean.xml file. Make sure you test if your images are loading on emdash.
Another issue I had was that my URL structure was YYYY-MM-DD for permalinks. I kept this intact but had to change the default permalink structure for EmDashCMS. Again, AI helped me do this.
By default EmDash does not have logins and passwords. They generate a passkey OR you can have it send you an email to login. I do not have email working on my cloudflare account and just went with passkeys.
The issue with passkeys is that when you test your blog with be hosted on something.page.dev. After you test and make sure everything is working… that passkey is still tied to that URL.
Sign in to /_emdash/admin using your old URL where your existing passkey still works. Go to Settings → General, click Change domain next to Site URL, enter your new domain, and select Check and switch. Then a warning might come up that it can’t verify the new domain. Say yeah no problem and click proceed anyway. There is probably a better way to do this in the emdash config process but this is how I did it.
Once you are satisfied and everything is working properly you should create a repo for your new site and push it to GitHub. If you want to make changes, like upgrade the CMS or install plugins, then you have to do it via command line. There are no automatic updates.
Who is EmDashCMS For?
I don’t think EmDashCMS is for the average person. If you are not comfortable with command line and previous things mentioned then I would say just stick to wordpress.
Like I just mentioned, automatic updates do not happen and installing plugins requires you to utilize command line. In fact, I’ve never even installed a plugin yet. When I did try to upgrade the CMS from 1.5 → 1.6 I encountered errors that had to be fixed.
Needless to say, I consulted with my AI to figure those out. I would not have even bothered to try this CMS without using AI.
It’s going to be fun to see how this thing evolves over time. I love the fact that its super fast and is much more secure out of the box than a wordpress blog.
One Last Thing
One last thing I should mention is that inside of the cloudflare dashboard you can share your GitHub account and repo that power your new blog. I set mine up to automatically rebuild and deploy when I commit and push changes to my main branch of my repo. I highly suggest you do the same so you don’t have to keep running the manual commands.
Discussion