diff --git a/components/utility/home-redirector.tsx b/components/utility/home-redirector.tsx index cb3dfe4..03949ba 100644 --- a/components/utility/home-redirector.tsx +++ b/components/utility/home-redirector.tsx @@ -34,7 +34,7 @@ export default function HomeRedirector() { const pathLocale = currentPath.split('/')[1] const hasLocaleInPath = isValidLocale(pathLocale) - if (!hasLocaleInPath) { + if (currentPath === "/" && !hasLocaleInPath) { const newPath = `/${preferred}${currentPath}` console.log('[HomeRedirector] Redirecting to:', newPath) router.replace(newPath)