最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin2浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论