How I added a sitemap to Next.js website (next-sitemap)
caleyCode
In order to improve the SEO ranking of a new website I had built using Next.js I decided I needed to add the automatic generation of a sitemap xml and robots.txt to the build process.
The website is statically exported from Next and then hosted on an S3 bucket in AWS.
This video documents me attempting to achieve the above
props to this NPM module https://www.npmjs.com/package/next-sitemap
#nextjs
Senior web developer focusing on Javascript, React and Node.
🎨 My Editor Settings Visual studio code Afterglow
support me - https://magic.freetrade.io/join/michael/f0f600bf
- Code examples used in videos are uploaded here: https://github.com/michaelCaleyWhaley/youtube
- Visit the channel here: https://www.youtube.com/channel/UCNJtGIsRYoWLAvdKJRkoLJw
- Say hello on instagram here: https://www.instagram.com/caleyinbriefs ... https://www.youtube.com/watch?v=zS-6oiwvNnc
2022-12-13
0.0 LBC
Copyrighted (contact publisher)
63284198 Bytes