最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Vercel Next.js app pages not indexed by Google - Stack Overflow

matteradmin5PV0评论

I built an app using Next.js, but already one month past, all pages were not indexed by Google. I tried to add sitemap and robots.txt, now they can crawl but can not be indexed by Google.

Most of pages issue is excluded by a 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?

I built an app using Next.js, but already one month past, all pages were not indexed by Google. I tried to add sitemap and robots.txt, now they can crawl but can not be indexed by Google.

Most of pages issue is excluded by a 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?

Share Improve this question edited Nov 25, 2024 at 10:37 fgu 3081 silver badge13 bronze badges asked Nov 16, 2024 at 9:15 Yan ZhangYan Zhang 3931 gold badge8 silver badges18 bronze badges 2
  • Please use this tag Next.js Application '<meta name="robots" content="NOODP" />' Sitemap resubmission and re-indexing for Google crawl as per Google Search Console – Umesh Singh Commented Nov 19, 2024 at 12:49
  • are you generating your metadata for desired pages? – Reza Attar Commented Nov 22, 2024 at 10:04
Add a comment  | 

1 Answer 1

Reset to default 5 +50

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/sitemap.xml // this is a dummy url

Make sure your application is properly working and crawl-able like Google's Mobile-Friendly Test to check it.

Please test if your site is working fine:

Google Page Speed Test

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.

Post a comment

comment list (0)

  1. No comments so far