great and straightforward explanation, thank you for that i found very useful. Btw i have question, do i need sitemap if i only build one single page? such us landing page web
In the dynamic version that's on github, I only fetched the slugs of posts and used them in the sitemap but I see no reason why you couldn't fetch other details too.
Your explanation was pretty straightforward, kiitos my friend.
Works with localisation as well with a "lang" param.
Great thanks!
I love finnish accent. Content was helpful!
Awesome! Thank you!
I guess this is for nextjs 13.3 and below? Because how can this generate the domain/sitemap.xml dynamically?
This is very simple and much useful. Thx!
Great to hear!
This really helped me a lot! Thank you so much!
Glad to hear!
thanks a lot! I tried to use next-sitemap, but the logic is confusing in there (imho). but you way is really elegant and clear. thank again)
Great to hear, thanks!
Great content ! Thanks
Glad you liked it!
great and straightforward explanation, thank you for that i found very useful. Btw i have question, do i need sitemap if i only build one single page? such us landing page web
Great to hear! I would add sitemap also in that case, at least crawlers then know that it is just one page
Thanks for this - is it possible to actually fetch the MDX format of files? I tried the dynamic version on the github but it didn't work for me :(
In the dynamic version that's on github, I only fetched the slugs of posts and used them in the sitemap but I see no reason why you couldn't fetch other details too.
hi ,nice video can you help for small task in nextjs
Thanks! Shoot me an email, you can find my contact info on tuomokankaanpaa.com :)
Google doesn't accept the sitemap T.T
How are you validating it?
@@TuomoKankaanpaa i don't know the reason but it doesn't work
so i changed library to 'next-sitemap'
Ok, well good that you got it working one way or another!
How to add SITEMAP and robots.txt to Next.js application (fast and easy!)