SEO questions #10395
Replies: 1 comment 2 replies
-
You should be able to look at the website template, specifically how it handles the metadata in next.js pages. https://github.com/payloadcms/payload/blob/main/templates/website/src/app/(frontend)/%5Bslug%5D/page.tsx#L90 - uses
The SEO plugin doesn't affect your frontend pages, only the data in your database / payload config. |
Beta Was this translation helpful? Give feedback.
-
For SEO I use @payloadcms/plugin-seo.
But the documentation is so crude that it doesn't even show how to get metadata on a page using the basic settings. So I have a few questions that the documentation doesn't answer:
If I use metadata in each schema, I get it, according to the example in the template, but everything is written very unclearly, this is not in the documentation, it is not clear at all why configure and add a plugin to payload.config if it doesn't work at all, but works only in the case of adding metadata through page and post schemas.
Beta Was this translation helpful? Give feedback.
All reactions