Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prerender: Don't redirect search engines #2624

Closed
ChristopherChudzicki opened this issue Aug 20, 2024 · 2 comments · Fixed by #2629
Closed

Prerender: Don't redirect search engines #2624

ChristopherChudzicki opened this issue Aug 20, 2024 · 2 comments · Fixed by #2629
Assignees

Comments

@ChristopherChudzicki
Copy link
Contributor

Description/Context

We use Prerender.io to with MIT Learn for the purpose of generating social media previews.

Our prerender fastly integration (based on https://docs.prerender.io/docs/fastly-integration) also redirects user agents googlebot, bingbot, and google.

We'd like to not mess with search engines—e.g., google runs Javascript (See [google docs](https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics#:~:text=Once%20Google's%20resources%20allow%2C%20a,HTML%20to%20index%20the%20page; also https://vercel.com/blog/how-google-handles-javascript-throughout-the-indexing-process).

Plan/Design

Suggest we remove googlebot and google from the VCL redirects. Maybe bingbot too?

Overview of Google crawlers and fetchers (user agents)

@Ardiea Ardiea self-assigned this Aug 20, 2024
@Ardiea
Copy link
Member

Ardiea commented Aug 20, 2024

Sure this is very straight forward. Just googlebot, bingbot, and google? Any others?

@ChristopherChudzicki
Copy link
Contributor Author

@Ardiea Google clearly recommends using their JS rendering rather than prerendering (which I guess they call dynamic rendering...maybe because it's "dynamic" in the sense of serving different content to bots vs humans.) I wish I had a better citation for Bing, though https://webmasters.stackexchange.com/a/140252 from 2023 suggests Bing [and only Bing+Google] run JS.

So, yeah, I'd say only googlebot, bingbot, and google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants