Blog Content Directory
Adding New Blog Posts
To add a new blog post to your Next.js site:
1. Create a Markdown File
Create a new .md file in this directory (content/blog/) with a descriptive filename:
- Use lowercase and hyphens
- Example:
dental-implants-guide.md
2. Add Frontmatter
Each blog post must include frontmatter at the top with required metadata:
---
title: "Your Blog Post Title"
date: "2024-11-25"
excerpt: "A brief summary of your post (150-200 characters)"
author: "Dr. Lalit Bhardwaj"
category: "Dental Care"
tags: ["tag1", "tag2", "tag3"]
featuredImage: "/uploads/blog/2024/11/image-name.jpg"
---
## Your content starts here...
3. Write Content in Markdown
Use standard Markdown syntax:
## Headings
### Subheadings
**Bold text**
*Italic text*
- Bullet lists
- Second item
1. Numbered lists
2. Second item
[Link text](https://example.com)

4. Categories
Common categories for Atlantis Dental:
- Dental Care Tips
- Dental Implants
- Cosmetic Dentistry
- Pediatric Dentistry
- Emergency Dental
- Preventive Care
- Oral Health
- Treatment Guides
5. Tags
Use relevant tags for SEO and filtering:
- dental implants
- teeth whitening
- preventive care
- pediatric dentistry
- cosmetic dentistry
- oral health
- dental hygiene
- tooth decay
- gum disease
Extracting Blog Posts from WordPress
Option 1: Using WordPress Admin Panel
- Log in to WordPress admin:
https://www.atlantisdentalcare.com/blog/wp-admin - Go to Tools → Export
- Select "Posts" and click "Download Export File"
- Use a WordPress to Markdown converter
- Copy converted posts to this directory
Option 2: Using All-in-One WP Migration Backup
The blog backup files are located in:
blog/wp-content/ai1wm-backups/- Latest:
www.atlantisdentalcare.com-blog-20250203-112145-647.wpress
Steps:
- Install WordPress locally (XAMPP, Local, etc.)
- Install All-in-One WP Migration plugin
- Import the
.wpressfile - Access the blog and export posts
- Convert to Markdown manually or use a tool
Option 3: Direct Database Export
- Extract the
.wpressfile (it's a ZIP archive) - Find the
database.sqlfile - Query the
wp_admin_poststable (table_prefix iswp_admin) - Extract post_title, post_content, post_date, etc.
- Convert HTML content to Markdown
- Create
.mdfiles with proper frontmatter
Helpful Tools
- WordPress to Markdown: https://wordpress-to-markdown.com/
- Markdown Converter: https://www.browserling.com/tools/html-to-markdown
- Frontmatter Generator: Custom script or manual creation
Image Management
Blog images are stored in:
public/uploads/blog/YYYY/MM/image-name.jpg
Images have been copied from the WordPress blog folder:
- Source:
blog/wp-content/uploads/ - Destination:
nextjs-site/public/uploads/blog/
Reference images in posts using:

Sample Posts
This directory includes 3 sample posts to demonstrate the system:
dental-implants-guide.md- Complete guide to dental implantsteeth-whitening-options.md- Professional whitening informationpediatric-dental-care.md- Parent's guide to children's dentistry
These are placeholder posts with real, useful content. Replace them with actual posts from your WordPress blog.
WordPress Blog Statistics
Based on the uploads folder, the WordPress blog has posts from:
- 2019: 8 posts
- 2020: 4 posts
- 2021: 6 posts
- 2022: 7 posts
- 2023: 11 posts
- 2024: 15 posts
- 2025: 9 posts (through November)
Estimated Total: ~60 blog posts to extract
Blog Categories Found
Based on file naming and context:
- Dental Implants (multiple posts)
- Cosmetic Dentistry
- Pediatric Dentistry
- General Dental Care
- Teeth Whitening
- Oral Health Tips
Next Steps
- Extract real blog posts from WordPress backup
- Convert to Markdown format with proper frontmatter
- Copy images to appropriate folders
- Update image paths in posts
- Verify all links work correctly
- Test each post on the site
- Optimize images for web (WebP format recommended)
File Naming Convention
Use consistent naming:
- All lowercase
- Use hyphens, not underscores
- Descriptive names
- No special characters
- Keep it concise
Examples:
dental-implants-cost-guide.mdhow-to-choose-dentist.mdemergency-dental-care-tips.md
For technical support, see the main nextjs-site/README.md file.
Leave a Reply
Your email address will not be published. Required fields are marked *

