Repository navigation
Commit 5237ea4
committed
fix(seo): emit canonicals with the trailing slash the server actually serves
The hosting serves every route with a trailing slash and 307-redirects the bare form, while canonicals pointed at the bare form. trailingSlash: true aligns canonicals, internal links and Astro's trailingSlash setting with the served URLs, which the sitemap already used.1 parent 228e18c commit 5237ea4
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
0 commit comments