Article
- Metadata inputs
- Headline, summary, author, publication date, social image.
- Important check
- Structured article data and visible headline agree.
Configure Nuxt SEO with `useSeoMeta`, reactive route data, canonical URLs, and rendering choices that match each page's search role.
Use Nuxt's useSeoMeta() for typed SEO and social tags, and useHead() for canonical links. Set stable defaults at the app level, then derive route metadata from the same data used to render each page. Keep metadata in the server response, use reactive getters only when values change, and verify canonical URLs, robots rules, and sitemap coverage in production.
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.
app.head or the root app. Add page-specific title, description, canonical, and social metadata in the route that knows the content. This prevents a shared default from masking every article or product with the same snippet.useSeoMeta() for typed SEO and social fields; Nuxt documents it as the recommended safe option for these tags.useHead() for broader head elements and canonical links. Keep absolute canonical URLs tied to the public domain, not a preview host. Google says the best way to set the canonical URL is in HTML, and that JavaScript must never change it to a different URL than the one in the original HTML.useHeadSafe() so unsafe values and attributes are filtered instead of injecting arbitrary markup.titleTemplate for consistent brand formatting. It takes a string where %s is replaced by the title, or a function; Nuxt says a function cannot be set in nuxt.config, so put it in app.vue. Then confirm it does not produce repeated separators or a duplicate brand name.<script setup lang="ts">
const product = await getProduct()
useSeoMeta({
title: product.name,
description: product.summary,
ogTitle: product.name,
ogDescription: product.summary,
})
useHead({
link: [{ rel: 'canonical', href: `https://example.com/products/${product.slug}` }],
})
</script>Nuxt 3 and Nuxt 4 share core head composables, but route conventions and file locations can differ. Use the docs for the installed major version and avoid copying paths from a different generation without checking your app structure.
When a route record is missing, return a true not-found response rather than a generic page with fallback SEO tags. Ensure canonical values do not include tracking parameters, session identifiers, or unintended query strings.
Use static generation for stable public routes, server rendering for request-time data, and client-only rendering where user-specific interactions require it.
Generate title, description, and canonical on the server from the route record. Do not depend on a later client request to reveal the page's topic.
Nuxt notes that SEO meta tags usually do not need to be reactive because search engine robots primarily scan the initial page load. Use the getter syntax (() => value) for values that really change, and wrap static useSeoMeta calls in if (import.meta.server). The older useServerSeoMeta composable is deprecated in favor of that pattern.
View source or inspect the first HTTP response. Confirm the content, canonical, status, and robots policy before client-side navigation runs.
For a framework-specific checklist, see the XML sitemap overview. Focus on pages with query demand and real content differences rather than publishing thin route permutations.
4 questions people ask next, answered from the sources on this page.
Nuxt recommends useSeoMeta() for typed SEO and social tags. Use useHead() for other head elements such as canonical links, and derive route values from the page's content.
Nuxt head composables manage metadata, but you need to configure or generate a sitemap for your routes. Verify that dynamic public URLs are included and private or duplicate routes are excluded.
Usually not for search metadata that stays stable per route. Nuxt recommends reactive getters only when the value actually changes; static tags can be generated server-side.
Core composables are similar, but route conventions and file structure can vary. Follow documentation for the app's installed Nuxt version and verify the rendered output.
Run the free audit, then approve the fixes. Every change can be undone.