Replies: 5 comments 8 replies
-
For adding up the meta tag, try this: // same for generateMetadata
export const metadata = {
other: {
custom: 'meta',
},
} Reference |
Beta Was this translation helpful? Give feedback.
-
I'm in a similar position, looking into converting an existing pages layout to app layout. On our pages that have pagination, we have a canonical link, as well as next and previous links. The |
Beta Was this translation helpful? Give feedback.
-
I would like to preload the image link |
Beta Was this translation helpful? Give feedback.
-
ditto if oyu want to add custom schema.org metadata on a per page basis |
Beta Was this translation helpful? Give feedback.
-
Yes, i added structuredData on page.jsx but its not override my layout structuredData which presents on app root folder |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am migrate react-app (cra) to Next.js 14, for improve seo-support.
This is my first experience with ssr framework.
In react-app I used react-helmet to manage metadata. In Next I plan to use the Head element, but unfortunately it doesn't work with app router.
So I started using the built in seo - Metadata. It works like a charm, but I ran into some issues.
I have customized metadata properties for the root layout via generateMetadata.
Some properties are missing in Metadata, for example I can't find how to set
<meta itemprop="...">
. Of course, I can add this meta directly to .The issue is that this parameter have to be changed per-page (like a page title), and I cannot find the way, how change
<head />
section from page, because this meta-props does not covered with Metadata api.How I can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions