---
title: "Discussion on \"Why next-sitemap Silently Breaks on Next.js App Router Route Groups (And How to Fix It)\" | Hashnode"
description: "Discussion on \"Why next-sitemap Silently Breaks on Next.js App Router Route Groups (And How to Fix It)\". Fix missing URLs in Next.js sitemap. Learn why next-sitemap breaks on App Router and how to solve it with Route Handlers."
url: "https://hashnode.com/posts/why-next-sitemap-silently-breaks-on-next-js-app-router-route-groups-and-how-to-fix-it/69e06b94f95c47e87f9601aa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why next-sitemap Silently Breaks on Next.js App Router Route Groups (And How to Fix It)](https://power-seo-ccbd.hashnode.dev/why-next-sitemap-silently-breaks-on-next-js-app-router-route-groups-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

Fix missing URLs in Next.js sitemap. Learn why next-sitemap breaks on App Router and how to solve it with Route Handlers.

Apr 16 · 11 min read · power-seo-ccbd.hashnode.dev  
Updated Apr 18  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#seo](https://hashnode.com/tag/seo)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Alamin](https://hashnode.com/@alamin-munshi)

@alamin-munshi · Dhaka, Bangladesh

  
[View profile](https://hashnode.com/@alamin-munshi)

Next.js dev turning real-world bugs into readable solutions.

Next.js Developer | I write about JavaScript problems &amp; real-world solutions | Helping devs debug faster.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
