How To Publish From Obsidian To WordPress In 6 Easy Steps

You use Obsidian already, so I do not have to tell you why it’s an excellent app for writing.

Now you might also want to use it for blogging with WordPress.

Here is an easy setup that works for me:

Video Version of this post:

Create a New WordPress User Account

Create a new WordPress user in your dashboard.
Why? The account name and details will be added in Obsidian to connect to your WordPress site. For nothing else.

Add this user with the role “Author”
Choose a username and a password.

Remember it 🙂

You can also use your existing user account, but I recommend creating a new one for that specific use case. You can change the user of the post before clicking publish in WordPress.

Install and configure an authentication plugin

Note: This step is necessary because, typically, a WordPress site does not allow connections from outside (anymore) by default. But you can try first if that also applies to your site – go to the next step and install the WordPress plugin in Obsidian and see if you can connect. But again, I would, in any case, suggest doing it with a separate user.

Install the WordPress REST API Authentication.
You need this plugin to make your WordPress site ready to accept connections from other apps, like Obsidian.

Install and activate the plugin.

There are many plugins for this job. This one works well for us.

Now configure the basic authentication method.

Follow the steps in the screenshots:

Select Basic Authentication

Select the Username & Password with Base64 Encoding option
Add the details of the user you just created in step 1.

Test the configuration.

Now your WordPress site is configured for connections via external apps like Obsidian.

In Obsidian: Install the WordPress Plugin

Obsidian does not support publishing to WordPress out of the box. But thanks to a community plugin, you can add that functionality.

Click on Settings > Community Plugins > Browse.

Then search for WordPress and install the “WordPress Publish” plugin.

After the install finished, click Enable.

  • Technical information about the plugin on GitHub

Configure WordPress Publish Plugin

Now, with the WordPress Publish plugin installed and enabled, you have to add the details of your WordPress site.

Again, in Obsidian settings, click the WordPress icon.

On this screen, you add the URL of your website, choose REST API in the dropdown, and I recommend to show the icon of the plugin in the sidebar.

After that is done, the icon should show up in the top left corner.
If not, close and restart Obsidian.

Click Login.

Now you can add the newly created account details in the following screen.

Add the user name, password, and I recommend publishing only the draft to WordPress.

Continue editing in WordPress

After you published a note from Obsidian to WordPress, you can continue editing there.
Here is one important thing to note: This p lugin creates “Classic” editor component in your post. You might want to convert it to “blocks” editing.

Apart from that, you want to change the author, add tags, categories, the permalink, a featured image, and much more – those are all things you can’t do inside Obsidian.

Hit publish

That’s it! You successfully drafted a blog post in Obsidian, published it to WordPress.

Other things to note

Publishing images to WordPress from Obsidian

It does not transfer your images that are embedded in Obsidian. I use Obsidian to write my drafts and continue editing in WordPress. I only add images in WordPress.

You can’t see your edits from WordPress in Obsidian

Every time you publish a note from Obsidian to WordPress, a new post is created in WordPress.

So I recommend you only publish from Obsidian to WordPress when you are nearly finished and continue editing your post in WordPress.

Conclusion

For bloggers that write text-heavy blog posts, this is a good recipe. Obsidian gives you a distraction-free writing experience.

This community plugin is very basic from a feature perspective; it would be nice to have image support and that it creates already blocks instead of the classic editor widget.

I am happy it is available and has been reliable so far. I wrote about ten posts that way (including this one) – no problems so far.

The best content, tips, and tools for curious creators. Twice a month.