-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
How to achieve SEO for dynamic content received from API ? #24146
Comments
Are you sourcing the content dynamically or statically (at build time when gatsby build runs). It sounds like the content is static and you would be best off building all your page content ahead of time rather then dynamically. Once you have all that being built into your pages, the seo story becomes much easier to work with. |
@herecydev, The # of companies is big and the content is huge so I guess it must be dynamic, I don't think something like this works best for my use case? because I cannot loop over the companies and get all the data, It's just too much. Just to demonstrate, User goes to |
Well give me an idea of how many companies and how big the data is. I've worked with 10k pages and that works fast, I'm confident gatsby can easily push much further (into the 100k page territory as well) |
Thank you for opening this! As Dan mentioned: If you're creating these pages on the client-side it's just a normal React SPA and hence it has the typical SEO situation (worse than what Gatsby creates at build time). On this front Gatsby can't help you as client-side is just client-side. However, I would encourage you to try to build your site! #19512 has shown that it's possible -- if it doesn't work just yet you can comment on the issue. We're marking this issue as answered and closing it for now but please feel free to comment here if you would like to continue this discussion. We also recommend heading over to our communities if you have questions that are not bug reports or feature requests. We hope we managed to help and thank you for using Gatsby! |
@ImSolitude maybe you could try PERENDER.io SAAS, or host it yourself |
I realize this issue is closed, but doesn't this approach work for this situation? https://www.gatsbyjs.com/docs/how-to/rendering-options/using-server-side-rendering/ |
I am not sure If Gatsby works best for this use case, But I have an API to provide me content for static websites for list of companies (Text and Images).
Let's just say If user hit
company1.mygatsby.com
thencompany1
content will be received and displayed. I've done the website and content shown perfectlyMy problem now how to achieve SEO for those websites? How to make whatever SEO checker to wait for the data before indexing or checking.
The text was updated successfully, but these errors were encountered: