URLs generated by gatsby-script-loader may be negatively impacting my site's SEO #38211
Unanswered
patricia-tonella
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all 👋🏻
I have a blog built with Gatsby, and I use
--prefix-paths
to add the /blog/ to my domain (example.com/blog/). All my URLs/paths work fine.I recently started getting a LOT of warnings in Google Search Console related to 404 pages (892 so far).
This is the pattern message for the 404 warning:
Thing is there's no direct reference to the 404 page on the referring page (as I mentioned at the beginning, all URLs/paths are being generated correctly). The only reference to a path without the /blog/ is from the
gatsby-script-loader
.I was reading the Gatsby docs and it looks like the blog path should be included in the page object name. I wonder if the page was built in a way that webpack doesn't include /blog/ in front of the page object?
I'm also wondering if this relative link is the root cause of the 404 pages, and how can I ask Google to stop crawling this partial link.
Any clues/thoughts are very welcome. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions