Unchained
57bae7ed6f
fix: canonical URLs to always include locale prefix
Fixed Canonical Redirect Error in Google Search Console by ensuring
canonical URLs always include the locale prefix (/sr, /en, /de, /fr)
instead of omitting it for the default locale.
Changes:
- layout.tsx: Fixed canonical and hreflang URL generation
- page.tsx: Fixed homepage canonical URL
- contact/page.tsx: Fixed contact page canonical URL
- about/page.tsx: Fixed about page canonical URL
- products/page.tsx: Fixed products page canonical URL
- products/[slug]/page.tsx: Fixed product detail canonical URL
Before: /contact (when locale=sr)
After: /sr/contact (all locales)
Fixes: Canonical Redirect Error in Google Search Console
2026-04-06 15:32:24 +02:00
..
2026-03-31 00:53:37 +02:00
2026-04-06 15:32:24 +02:00
2026-04-03 20:44:15 +02:00
2026-04-03 20:44:15 +02:00
2026-04-03 20:44:15 +02:00
2026-04-03 20:44:15 +02:00
2026-03-29 18:22:16 +02:00
2026-03-24 16:00:07 +02:00
2026-04-01 10:24:09 +02:00