Loading...
5.x and later
Vaza optimizes your Astro site for search engines with zero configuration. Works with Astro 5+, content collections, MDX, and all Astro integrations.
Integrates with Astro's built-in content collections. Reads your content schema to generate proper JSON-LD, sitemaps, and meta tags.
Understands Astro's partial hydration model. SEO fixes respect client:load, client:idle, and client:visible directives.
Leverages Astro's zero-JS-by-default approach for optimal Core Web Vitals. Fixes focus on image optimization and layout stability.
Reads and optimizes MDX content files: alt text, heading structure, internal links, and structured data from frontmatter.
Works alongside @astrojs/sitemap, @astrojs/image, and other official integrations without conflicts.
Respects Astro View Transitions for smooth navigation. SEO fixes maintain transition compatibility.
---
// src/layouts/Layout.astro — auto-optimized by Vaza
const { title, description } = Astro.props
const canonicalURL = new URL(Astro.url.pathname, Astro.site)
---
<html lang="en">
<head>
<title>{title} | Your Brand</title>
<meta name="description" content={description} />
<link rel="canonical" href={canonicalURL.href} />
<meta name="robots" content="index, follow" />
<meta name="googlebot" content="max-snippet:-1, max-image-preview:large" />
</head>Yes. Vaza reads your content collection schemas and generates appropriate JSON-LD, sitemaps, and meta tags based on your frontmatter fields.
No. Vaza detects existing Astro integrations and works alongside them. If @astrojs/sitemap is installed, Vaza skips sitemap generation.