Commit ecb6ebc
authored
fix(seo): make / → /en redirect permanent (301) (#188)
The root redirect was the only entry using `permanent: false` (307 temporary);
every other redirect in this file uses 301. Google treats 307 as "don't
consolidate canonicals" and kept both / and /en in the index with /en self-
canonicalizing — Search Console flagged /en as "Duplicate, Google chose
different canonical than user" (chose /).
Flipping to permanent: true emits a 308 permanent redirect, letting Google
consolidate / and /en to a single indexed URL.1 parent 60018c8 commit ecb6ebc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments