How to Migrate From Wordpress to Obsidian Blogger

If you are using WordPress and you want to switch to Obsidian Blogger, then this article will help you. In this article, we’ll talk about how you can migrate from WordPress to Obsidian seamlessly so that all of your WordPress posts will directly be migrated to Obsidian.

And you can update your articles, and blogs from Obsidian. You will also have a more optimized blog and faster loading speed.

Follow this guide properly to migrate properly from Obsidian to migrate properly from WordPress to Obsidian.

Prerequisites

  • WordPress site with admin access
  • Node.js installed on your computer
  • Basic familiarity with terminal commands
  • Git for version control
  • Cloudinary account (Optional)

Export WordPress Content

  1. Log into WordPress admin dashboard
  2. Go to Tools → Export
  3. Select “All content”
  4. Download the XML export file

Handle Images First

Note: You can also directly download and use the images locally as well, but I do not recommend it because when you are downloading all of the content, all of the images, sometimes it may throw an error and if you get an error, you will need to solve, you will need to spend a lot of mental energy and resources to solve the problem. And if you do not have a good technical or programming knowledge, that will be even harder.

Before proceeding with content migration, set up image handling.

  1. Create a Cloudinary account if you haven’t already
  2. Install the Cloudinary WordPress plugin
  3. Configure the plugin with your Cloudinary credentials
  4. Let the plugin sync your media library to Cloudinary

This step ensures all your WordPress images are served through Cloudinary, making the migration process smoother and maintaining your image URLs after the switch.

Convert to Markdown Format

Install and run the WordPress to Markdown converter:

npx wordpress-export-to-markdown

When prompted:

  • Enter path to WordPress export XML
  • Choose output directory
  • Skip image downloads (since we’re using Cloudinary with wordpress)

Set Up Obsidian Structure

  1. Create a new Obsidian vault
  2. Copy converted markdown files to vault
  3. Organize posts into relevant folders
  4. Update internal links if necessary

Add Required Metadata

Each post needs the following frontmatter for publishing:

---
title: "Your Post Title"    # The main title of your post
publish: true              # Required for the post to appear on your site

# Optional but recommended fields
slug:                      # Custom URL path
subtitle:                  # Appears below the title
description:              # Used for SEO and previews
tags: [tag1, tag2]        # Categories for your post
created_date: YYYY-MM-DD  # Publication date
featured_image:           # Hero image URL from Cloudinary
---

You can use Obsidian plugins like Projects or Database folder etc. in order to add properties to multiple files at once and to manage it better.

Configure Publishing Settings

Deploy Your Blog

Before you do deployment in your original vault, I suggest that you copy the resources folder somewhere else and test it locally first. And if your test is successful, and you are happy with everything, then you can copy the resources folder with the new articles, the notes converted from WordPress posts to Markdown, and move all of them into the resources folder once you are happy.

  1. Test locally:
npm install
npm run dev

Verify if Everything Works Correctly

  1. Verify all posts render correctly
  2. Check if Cloudinary images are loading properly

After you have made the switch, you also need to make changes to the name servers. If you want to use your actual domain name instead of the Cloudflare subdomain, then you will need to change the name server as well(from where you have purchased the domain).