Next.js Discord

Discord Forum

suspense

Unanswered
Chum salmon posted this in #help-forum
Open in Discord
Avatar
Chum salmonOP
I can't make my website indexed in google search console. Because Next.js is adding this header "<meta name="robots" content="noindex"/>" automatically. I tried updating headers in next.config.js & also tried adding "robots" value in "metadata" variable. Nothing is working. Can anybody help me? Thanks.

1 Reply

Avatar
Chum salmonOP
By removing useSearchParams hook from my code the problem resolved. Thanks!