Edit and Delete Blog Post
After publishing blog posts, you will need to update content, fix typos, or remove old posts. This guide shows how to manage them without breaking anything.
Edit / Update Blog Post
Step 1: Find the Post File
Go to your project:
blog/
├── 2026-02-28-first-post.md
├── 2026-03-15-tutorial.md
└── authors.yml
Find the file you want to edit. Example: 2026-02-28-first-post.md
Step 2: Open and Edit
Open the file in VS Code.
You can edit 2 parts:
1. Frontmatter (the top part between ---):
---
slug: first-blog-post
title: First Blog Post
description: Description for SEO
authors: creativitas
tags: [docusaurus, tutorial]
image: img/docusaurus.png
---
What you can change:
title: Update the post title - shows on the blog list and post pagedescription: Update the SEO descriptionslug: WARNING - changing the slug changes the URL. Old links will break (404). Avoid changing it after publish unless needed.authors: Change the author ID, or add more:authors: [creativitas, sonandreas]tags: Add or remove tags:tags: [docusaurus, new-tag]image: Change the cover image
2. Content (below the frontmatter):
Edit the markdown content:
# Old content here...
Fix typo, add new section:
## New Section Added
New content here...
Add new image:

Step 3: Save and Preview
- Save the file (Ctrl+S)
- If
npm run startis running, the browser auto-refreshes - Go to http://localhost:3000/blog and http://localhost:3000/blog/your-slug
- Check the changes
Important about the date in the filename:
- The filename date
2026-02-28-...is used for sorting and the URL if you do not set aslug - Changing the date in the filename will change the post order on the blog list (newer date = higher)
- Changing the date also changes the URL if you do not use a custom
slug - Best practice: Keep the filename date the same as the publish date, use
slugfor a custom URL
Example: Update post date (re-publish as new)
If you want to bump a post to the top as new:
- Rename the file:
2026-02-28-first-post.md→2026-06-10-first-post.md - Keep the same
slug: first-blog-postso the URL stays the same - Save - the post now shows as June 10, 2026 on the list
Delete Blog Post
Step 1: Find the File
blog/2026-02-28-old-post.md
Step 2: Delete
- In VS Code: Right-click the file → Delete
- Or in File Explorer: Select the file → Delete key
Step 3: Check
- Run
npm run start - Go to /blog - the deleted post should be gone
- Visiting the old URL
/blog/old-post-slugwill now show a 404 - This is normal
Rename Blog Post
To rename the slug or URL:
- Open the file:
blog/2026-02-28-first-post.md - Change
slug:in the frontmatter:---slug: my-new-url--- - Optionally rename the file to match:
2026-02-28-my-new-url.md(keeps things organized) - Save
Warning: If the post is already indexed by Google or has been shared, the old URL will 404. You should set up a redirect in docusaurus.config.js if needed, or keep the old slug.
Bulk Management
- To draft a post without publishing: Move the file out of the
blog/folder toblog-drafts/, or adddraft: truein the frontmatter (if your config supports it) - the post will not show on the production build. - To hide but keep the file: Rename it to
2026-02-28-post.md.bakor move it to a backup folder.