SEO Features
Built-in SEO capabilities in BloggFast: sitemap, metadata, OG images, and more.
Last updated:
Sitemap
BloggFast auto-generates a sitemap.xml using Next.js's built-in sitemap support. The sitemap includes all published articles, categories, tags, authors, and static pages with configurable priority levels and change frequencies. Search engines can discover it at https://yourdomain.com/sitemap.xml.
Per-page metadata
Every page in BloggFast exports a metadata (or generateMetadata) object with title, description, and OG tags. Article pages use generateMetadata to dynamically build SEO metadata from the article's title, excerpt, author, publish date, and cover image — pulling from both the database and Sanity.
Structured data (JSON-LD)
BloggFast generates JSON-LD structured data for better search engine understanding:
- Article pages —
Articleschema with headline, description, image, datePublished, dateModified, and author - Structured data is rendered as a
<script type="application/ld+json">block in the page head
Open Graph images
BloggFast generates dynamic OG images using next/og (ImageResponse). Each blog post gets a unique OG image with the post title, author, and site branding rendered as an image — no manual design work needed. Twitter cards use summary_large_image format.
Canonical URLs
Article pages automatically set canonical URLs via the alternates.canonical metadata field. If an article has a custom canonicalUrl set in the database, that is used; otherwise, the canonical defaults to the article's public URL.
robots.txt
A robots.txt is generated from src/app/robots.ts to control crawler access. By default it allows all crawlers to index the public blog while disallowing access to /admin, /api, /profile, /saved, and /liked.
Reading time
Article reading time is calculated automatically from word count (approximately 200 words per minute) and displayed on article pages. No manual entry is needed.
GEO (Generative Engine Optimization)
BloggFast includes a public/llms.txt file — a machine-readable description of the product designed for AI search engines and language models. This helps AI systems accurately represent your site in AI-generated answers and citations.
To optimize your blog for AI discoverability, consider adding a public/llms.txt to the main app with a summary of your blog's purpose, topics, and key content. This emerging standard helps AI crawlers understand your site beyond traditional SEO signals.