react-router Tag
I moved a blog built with Next.js 13 static export (output export) to React Router 8 framework mode and React 19. Here is how I kept URLs, meta tags, and sitemaps unchanged while building a static site with prerender, and the problems I ran into.
On Cloudflare Pages, a static site's /x URL can get redirected to /x/. Here is why it happens (the x/index.html file layout) and how I kept slash-free URLs by flattening the build output into x.html files.