SEO title
- Editor rule
- Optional override with a title fallback
- Frontend use
- Render one meaningful
<title>per canonical page
Build a Contentful SEO workflow that connects structured metadata fields to rendered pages, localized routes, canonicals, and sitemaps.
Contentful stores content; your frontend determines whether search engines receive complete page HTML and metadata. Model page title, description, canonical path, social image, and indexability as validated content fields, then map them into the frontend's server or build-time output. Test the rendered production page, locale variants, and sitemap together; Contentful fields alone do not publish search-ready pages.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
metaTitle and metaDescription; treat those names as a convention, not a requirement. The exact implementation depends on the frontend.<title> per canonical pagenoindex only for intended non-search pageshreflang where appropriatenoindex and canonical as separate decisions: a canonical consolidates duplicate or alternate URLs; noindex excludes a page from search indexing.export async function generateMetadata({
params,
}: {
params: Promise<{ slug: string }>
}) {
const { slug } = await params
const page = await getContentfulPage(slug)
return {
title: page.seoTitle || page.title,
description: page.seoDescription || page.summary,
alternates: { canonical: page.canonicalUrl },
}
}Query the metadata fields alongside the page content in the same build or server request. Handle unpublished entries and missing optional values explicitly.
Use the frontend's server rendering or build output to put title, description, canonical, language, and robots directives into the HTML head. Client-only updates may leave the initial HTML without the intended metadata.
Combine a normalized production origin with a validated route path. Do not let preview hostnames, editor URLs, or arbitrary external input become canonical URLs. In Next.js, alternates.canonical can be a relative path that is composed with metadataBase into a fully qualified URL.
If the page needs schema, render it from the same current product or article data visitors can see. Test the output and avoid duplicating schema emitted by another component.
Compare editor values with the public HTML head and visible page. Catch fallback, escaping, and draft-preview mistakes before publishing.
Check at least one article, product, category, and localized route if your model uses separate templates.
Use URL Inspection for important pages and review sitemap processing. Diagnose crawl access and canonical selection before adding more metadata fields.
See Contentful's data model documentation, its metadata fields implementation example, JavaScript SEO basics, and the XML sitemap guide.
3 questions people ask next, answered from the sources on this page.
Contentful stores and serves structured content, but your frontend controls the rendered URL, HTML metadata, crawl access, and sitemap. Build the fields and frontend mapping together, then test the published response.
Start with title and description overrides, canonical path, social image, locale and slug, and an intentional indexability control. Add fields only when the publishing frontend has a clear use for them.
Google can render JavaScript, but rendering has limitations and delays. Prefer delivering important metadata and main content in server-rendered or build-time HTML, then verify the rendered page.
Run the free audit, then approve the fixes. Every change can be undone.