I built an app using nextjs , but alraedy one month past, all pages no indexed by google.I tried add sitemap and robots.txt, now they can crawl but can not indexed by google. most of pages issue is Excluded by ‘noindex’ tag. I checked the whole code , there is no this tag I added in this app.anyone help can point what is the issue?
Please follow Here’s an easy step-by-step solution to fix the issue:
First Verify whether there is Actually noindex
(or similar) metatag in your webpages
Please Open Google Search Console Dashboard then check settings -> Crawling -> robots.txt
Valid
Incorrect Meta tag:
<meta name="robots" content="noindex">
Correct Meta tag:
<meta name="robots" content="NOODP" />
Please make sure to examine Your level of robots. txt
if showing Disallow: /
kindly follow below code
User-agent: *
Allow: /
Sitemap: https://stackoverflow.com/sitemap.xml // this is a domy url
Make sure your application is properly working and crawlable like Google's Mobile-Friendly Test to check it.
Please test if your site is working fine:
https://pagespeed.web.dev/
Sitemap resubmission and re-indexing for the affected pages will be necessary.
If you still can’t find a solution to your problem, please contact Vercel support or file an issue under the Next.js GitHub repo
including all logs.