how to add noindex in metadata on nextjs 13?

How to add noindex in metadata on nextjs 13?

Tried to add to "noindex: true" with no success here:

export const metadata = { title: "Website title", description: "My description", }; 

1 Answer

export const metadata = { robots: { index: false, follow: true, nocache: true, googleBot: { index: true, follow: false, noimageindex: true, 'max-video-preview': -1, 'max-image-preview': 'large', 'max-snippet': -1, }, }, }; 

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like