notFound() is not replacing <meta robots>
Unanswered
Black Russian Terrier posted this in #help-forum
Black Russian TerrierOP
I found out, that calling notFound() in an app page, is appendig the
Am I missing something, or is this really a bug in next. I also already verifyed and the current canary
Any suggestions from you?
<meta name="robots" content="noindex">
in the head, as inteded. But it is not replacing an existing existing robots tag, I set in generateMetadata(). Am I missing something, or is this really a bug in next. I also already verifyed and the current canary
v15.0.0-canary.72
still has this issue. Would be much handwork, to handle the robots in each generateMetadata() function on each page for all cases. Any suggestions from you?
1 Reply
Black Russian TerrierOP
Just created an issue: https://github.com/vercel/next.js/issues/67907