1
2 Comments

Add a Dynamic Sitemap to Next.js Website Using Pages or App Directory

In this post, we will explore how to add a dynamic sitemap to a Next.js website using the app directory. By the end of this post, you will have a fully functional dynamic sitemap for your Next.js website.

submitted this link to Icon for group Developers
Developers
on March 11, 2023
  1. 1

    I think there is already a package next sitemap that can do the job

    1. 1

      Yeah, it's called next-sitemap, but you don't really need it in this case.

Trending on Indie Hackers
I built a tool directory that doesn't pretend every founder has the same needs User Avatar 61 comments Drop your landing page URL. I'll use Ferguson to tell you why visitors might be leaving User Avatar 46 comments AI helped me ship faster. Then I forgot what my product actually does. User Avatar 36 comments I Was Picking the Wrong SaaS Tools for Two Years. Here's the Mistake I Finally Figured Out. User Avatar 29 comments Most early-stage SaaS companies miss churn signals — here’s how to catch them early User Avatar 27 comments How I Run a 1.7M Product Search Engine at 66ms on a $0 Hosting Budget User Avatar 18 comments