Google Search Console and Next.js caching - "_rsc=" issue #61850
Replies: 4 comments 5 replies
-
I'd also appreciate someone familiar with Next.js internals hypothesizing why Google considers the _rsc AJAX calls worthy of being compared to their equivalent public URLs despite _rsc never explicitly appearing in anyone's address bar, and whether anything can or should be done about that by developers who use the Next.js App Router and Link component or by developers of Next.js itself. |
Beta Was this translation helpful? Give feedback.
-
These pages do not present any new content. The solution for myself was to add a line in Robots.txt.
|
Beta Was this translation helpful? Give feedback.
-
I came across a similar issue regarding Google and Google Search Console. For some reason, Google is massively crawling pages with "_rsc" parameters in the URL, which leads to errors in identifying canonical pages, despite the fact that they are set for each one. It can also cause incorrect indexing of pages. As a result, our site has stopped being indexed in Google, although everything is fine in other search engines. We tried to solve this problem using a file We also tried to fix this by checking the URL parameters and using a redirect in
Thus, Next.for some reason, js clears these parameters. Perhaps someone has encountered a similar situation? |
Beta Was this translation helpful? Give feedback.
-
Hello there... do you have some solution for this? I have same issue, have thousants of ?rsc= in GSC ... what is best solution from SEO point of view for us? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have noticed an increasing number of errors in my Google Search Console related to caching in Next.js. Specifically, the error is 'Alternative page with proper canonical tag' and 98% of occurrences are related to the caching issue. I would like to know how to prevent Google from indexing pages with a URL query '_rsc='.
I tried excluding these pages from indexing by adding them to the robots.txt file, but as they are necessary pages, that approach did not work. Can someone please advise me on what I should do?
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions