-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Sitemap Plugin #1451
Comments
What exactly do you mean with sitemap? Do you mean |
Yeah, |
How about a
For SEO or other purposes as well? Is it still relevant to have a |
👍 Looking forward to it. |
Could you suggest suitable internal APIs from Vike? What would it look like in theory? I'm asking because I'm not familiar with the Vike structure. |
See |
@mikhin if you want some code for a script that should work with minor adjustments feel free to take from https://github.com/Idrinth/react-file-based-routes/blob/master/src/generate-routes.ts - would be happy if vike would support sitemaps out of the box. Required adjustments:
|
Sounds great, thanks for the tip! |
Yes, contribution welcome! At least some rudimentary support for SEO purposes would be nice indeed. I guess simply generating
Not sure I follow this one: aren't sitemaps always static? Not sure what you mean with page priority.
Interesting. What's the use case? 👀 We can add built-in support for sitemap.xml into Vike core, or create a Vike extension, or both. If all features make sense for most users we can make it all built-in, but we can (also) create Vike extensions for tailored use cases. |
Description
Hello, Vike Community! I'm in search of a sitemap plugin to enhance our project and was wondering if such a feature already exists.
If not, I'd be grateful for any guidance or suggestions on how to elegantly implement this.
Thank you in advance for your time and assistance!
The text was updated successfully, but these errors were encountered: