Skip to content
Discussion options

You must be logged in to vote

How does Google know that I have a blog post called 'How to write great GitHub tickets' on my Next site?

Google crawls public websites, and also follows links to discover more pages.

Does it load the JavaScript in an environment of some sort, actually execute the fetch requests, then crawls through the now populated blog posts?

Google does that, yes. Not all crawlers do it, but in any case it shouldn't be an issue if the content is static HTML (using getStaticProps). JS won't need to run because the data is already populated by the initial HTML.

it's really a re-usable component that tricks google by putting in unique metadata from the blog post?

I'm not sure I understand but here a…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lfades
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants