Replies: 4 comments
-
Did you find anything useful? |
Beta Was this translation helpful? Give feedback.
-
Same question here, Claude 3.5 recommends having |
Beta Was this translation helpful? Give feedback.
-
I'm also curious, the AI's (Chat GPT, Gemeni) seems super confidence in that you should block the entire _next folder. But since it also blocks CSS file it seems it can't render the pages (i.e if you do a live test thing in GSC). Like they talk about here. Maybe it's ok to block all but the .css files or something? |
Beta Was this translation helpful? Give feedback.
-
Same question. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I've been doing some inspection of my site (mikebifulco.com's SEO using the ahrefs webmaster tools to occasionally run audits on my site. In doing so, I noticed that their crawler is checking the _next directory on my site:
My understanding is that I probably don't want
/_next
and/api
to be indexed for search, but I haven't found any real guidelines in the docs for next on this. (this is all I found: static file serving and "what is a robots.txt file?"Also, I checked robots.txt for some sites that I thought might show recommended practices... and was a bit surprised.
vercel.com
link
nextjs.org
link
mikebifulco.com (for comparison)
link
should I add a disallow rule for crawlers on
_next
? What about/api
, presuming I don't want any of my APIs to show up in search results? Nothing special there, but there's no reason anyone would ever want to browse directly to one of those routes.Beta Was this translation helpful? Give feedback.
All reactions