© 2026 Hedgehog Software, LLC
/blog/new
/blog/:id/overview
/blog/:id
next.config.js
new
const nextConfig = { async redirects() { return [ { source: "/blog/:id", destination: "/blog/:id/overview", permanent: true, } ]; }, };
const nextConfig = { async redirects() { return [ { source: "/blog/:id(^(?!new$).*)", destination: "/blog/:id/overview", permanent: true, } ]; }, };
blog/ ├── [id]/ │ └── overview/ │ └── page.tsx └── new/ └── page.tsx