[SEO] _next Folder Being Crawled by Search Engines #89939
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I guess, as long as these don't return HTML, then it should be fine. Like, the bot fetches that JS to run the page, but it doesn't go and index it. Reverse the question, can you search a page by using "actual code" included in that page - AFAIK, nope. Not a bad idea to use a robots.txt though, it has a use case of course. Keep _next/static reachable though. Some SEO gurú expert might overrule me here though. |
Beta Was this translation helpful? Give feedback.
-
|
I am facing the same issue on my website, https://www.unionlimousine.com/. We are using Next.js, and Google Search Console is reporting several URLs with Has anyone found a reliable solution for preventing If anyone has successfully resolved this issue in production, could you please share: • Your Next.js version Thanks in advance. Any guidance would be appreciated. For Next.js websites, |
Beta Was this translation helpful? Give feedback.

I guess, as long as these don't return HTML, then it should be fine. Like, the bot fetches that JS to run the page, but it doesn't go and index it. Reverse the question, can you search a page by using "actual code" included in that page - AFAIK, nope.
Not a bad idea to use a robots.txt though, it has a use case of course. Keep _next/static reachable though.
Some SEO gurú expert might overrule me here though.