Dynamic Sitemap Generation in Next.js đź—ş

Create your own dynamic sitemap with next.js!

Marte Løge
JavaScript in Plain English
4 min readSep 10, 2020

--

To get your page indexed and all sites discovered by Google you should maybe provide a compass to help — also known as a Sitemap. A sitemap is a list of all routes on your page that you want Google to index. Let’s make a dynamic sitemap for your Next.js app without any plugins or libraries!

Photo by Aron Visuals on Unsplash

--

--

Sailing software developer living on “ SY Hello World” in the Caribbean. Love programming, sailing, cats, and flowers.