Build a Real Astro Site
A practical path for WordPress developers learning Astro by building a real content site: local setup, MDX, Content Collections, Tailwind, SEO, search, and deploy.
Build the content site in the order it actually makes sense
Start with the messy story: the setup confusion, the localhost moment, and the two-day learning curve.
Create the project, understand Astro files, and deploy the first static site.
Turn a simple site into a real content system with MDX, YAML, collections, and page templates.
Add Tailwind, SEO metadata, schema, sitemap, robots.txt, and AI-crawler files.
Add search, affiliate redirects, UI components, dark mode, pagination, and the final site pass.
This series starts with the awkward part: I came from WordPress, thought Astro would take one afternoon, then spent two days learning the workflow for real.
The point is not to pretend Astro is magic. The point is to show what actually changes when content moves from a dashboard and database into files, components, and a build step.
- You know WordPress and want to understand Astro without hype
- You want to build a blog, guide library, affiliate site, or portfolio
- You are comfortable learning through files, terminal commands, and Git
- You want a real project instead of another tiny starter tutorial
- You need a browser-based CMS dashboard on day one
- You are building WooCommerce, memberships, or user accounts
- You want a no-code site builder rather than a developer workflow
Series contents
Published lessons will become clickable here as each batch moves from the draft workshop into the live guide collection.
Orientation
Understand why this series exists, what the demo project is, and how the WordPress-to-Astro mindset shift feels.
Astro Foundations
Set up Astro, understand pages, layouts, components, styling, static generation, and deploy the first version.
- 1.1 What is Astro? A WordPress Developer's Honest Take ->
- 1.2 How to Set Up Your First Astro Project: A Step-by-Step Beginner Guide ->
- 1.3 Astro Pages, Layouts and Components: The First Three Concepts to Learn ->
- 1.4 Styling in Astro: Start with Plain CSS Before Reaching for Tailwind ->
- 1.5 Static Site Generation Explained: How Astro Pre-Builds HTML ->
- 1.6 How to Deploy Astro to Vercel: GitHub, Auto-Deploy, and Custom Domains ->
Content with MDX and YAML
Build the content model: Markdown, Content Collections, dynamic routes, MDX, reviews, comparisons, guides, and images.
- 2.1 Writing Content with Markdown in Astro: What WordPress Developers Need to Know ->
- 2.2 Content Collections in Astro: The Right Way to Manage Structured Content ->
- 2.3 Dynamic Routes in Astro: How One Template Generates Hundreds of Pages ->
- 2.4 MDX in Astro: Use Components Inside Your Content Without Touching Raw Code ->
- 2.5 Build a Review Page in Astro: Schema, Layout and Components ->
- 2.6 Build a Comparison Page in Astro: Side-by-Side Content with Structured Schema ->
- 2.7 Build a Guide Page in Astro: Step-by-Step Content with Difficulty and Time Estimates ->
- 2.8 Images in Astro: How to Add, Optimize and Manage Local Images ->
- 2.9 Cloudinary in Astro: External Image CDN for Content Sites That Scale ->
Tailwind and Technical SEO
Move from plain styling into Tailwind, then add meta tags, Open Graph, JSON-LD, sitemap, robots.txt, and llms.txt.
- 3.1 How I Switched an Astro Site from Plain CSS to Tailwind v4 ->
- 3.2 Tailwind CSS in Astro: Refactoring Every Page and Fixing What Breaks ->
- 3.3 Meta Tags and Open Graph in Astro: Build One Reusable SEO Component ->
- 3.4 JSON-LD Schema in Astro: Article, Review, Person, and Breadcrumbs ->
- 3.5 Sitemap and robots.txt in Astro: Package or Custom Route? ->
- 3.6 llms.txt in Astro: Auto-Generate It Without Pretending It Is SEO ->
Search, Components, and Polish
Add answer-first content patterns, go-links, UI components, dark mode, Pagefind search, pagination, and final polish.
- 4.1 Content SEO and AEO
- 4.2 SEO/AEO/GEO/HEO theory
- 4.3 /go/ affiliate links
- 4.4 Component library
- 4.5 Dark mode
- 4.6 Pagefind search
- 4.7 Pagination
- 4.8 Homepage redesign
- 4.9 UI polish
- 4.10 Phase 1 wrap-up
Parts 0–3 are live. The polish phase comes next.
Article 00 through Article 18B are live now: foundations, the complete content model, Tailwind migration, and the technical SEO layer. Part 4 moves into answer-first content, affiliate links, UI components, search, and final polish.