docs/middleware/redirects
Robert Sese b9ee89fc46
Add redirects for language-less homepage requests (#20494)
* Redirect homepage to user's language

* Redirect URLs with no language code

* Add leading forward slash

* Revert "Redirect URLs with no language code"

This reverts commit f817ac1136ea0c7e11c4d61327a4445b56a2f5d6.

* Simplify per @zeke

* Add homepage language redirect tests

* Update middleware/redirects/handle-redirects.js

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* braces are good

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-08-05 21:46:57 +00:00
..
external.js Pretty format (#20352) 2021-07-14 14:35:01 -07:00
handle-redirects.js Add redirects for language-less homepage requests (#20494) 2021-08-05 21:46:57 +00:00
help-to-docs.js Pretty format (#20352) 2021-07-14 14:35:01 -07:00
language-code-redirects.js Pretty format (#20352) 2021-07-14 14:35:01 -07:00