You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
sorry but I'm a bit confused about how to generate the sitemap.xml
I tried the code in the README.md but it is not working.
Then I found different threads about this topic, I tried them with no luck.
Which is the recommended method as of today?
In the end I adopted this solution, I hope it will be useful to the reader:
using standard gatsby-plugin-sitemap configuration (nothing at all, just listing the plugin inside gatsby-config.js)
generating on every page hreflang links
Every page has links like in the following example (this example is referring to the / root page).
Note: I'm using generateDefaultLanguagePage: false, my default language is en so for this language I'm doing a little differently.
Hello,
sorry but I'm a bit confused about how to generate the sitemap.xml
I tried the code in the README.md but it is not working.
Then I found different threads about this topic, I tried them with no luck.
Which is the recommended method as of today?
Thank you.
My package.json is:
The text was updated successfully, but these errors were encountered: