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

Gatsby - Facebook SEO can't get result on Production Link but in Stagging it works #653

Closed
irwansyafani opened this issue Sep 2, 2021 · 2 comments

Comments

@irwansyafani
Copy link

I having an issue that Facebook Developer can't get the result for SEO on Production Link
but, in Stagging Link it works correctly

have you guys faced an issue like this?

@Elius94
Copy link

Elius94 commented Mar 9, 2022

I think it's because this react plugin changes the index.html only if js is enabled... I suppose that the social engines that generates the preview reads only the "crude" index.js generated in the build process.

To bypass this trouble i've created this usefull npx command:

https://github.com/Elius94/js-seo-ingector

Enjoy

@irwansyafani
Copy link
Author

okay, i'll try it later @Elius94

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

No branches or pull requests

2 participants