Next.js Discord

Discord Forum

Page specific Structure Data implementation in Next js 15 with App Router

Unanswered
Bigeye tuna posted this in #help-forum
Open in Discord
Bigeye tunaOP
Hi, I am struggling to implement page wise unique schema in next js 15 with App router. I have tried js object + script tag within the page. It renders the schema as it should be but it is not being validate in schema validator. Any one can help?

5 Replies

Bigeye tunaOP
For more context I have tested rendered script in validator, it works but with link based validation it does not work.
Rose-breasted Grosbeak
Did you google this?
Bigeye tunaOP
Checked Google, stackoverflow, chatGPT
Rose-breasted Grosbeak
Bigeye tunaOP
I have implemented same way. But but it is not getting validated.