Hi,
We have a Next.js (v13) on Netlify, which recently the router for single types seems to not work (resulting in 404) and requires /en to the path.
Here’s an example: https://643e6ae0ca598028347c35b7--freestyle-site.netlify.app/work/thecaravanandmotorhomeclub
[work] = page
[work/*] = single type
In Next.js, we have locale in config as
i18n: {
locales: [“en”],
defaultLocale: “en”,
},
This has always been in, and worked fine.
So to help resolve it, we removed the defaultLocale, which then made any single page result in 404.
We know this is a Netlify route issue, as we uploaded the same codebase to Vercel which works fine.