Case sensitive routing doesn't work #2327
Closed
andriiradkevych
started this conversation in
General
Replies: 1 comment
-
On an unrelated note: It's the first time I'm hearing that URL casing has an effect on SEO. I'm curious to know if there is some truth behind it. Back to topic: You can write a middleware that redirects all upper/mixed-cased routes to the lowercased ones. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
My seo team , gave me task to make routing working , without relation to capital letters , is it possible ? What I mean
/Regiser
and/register
should work . But now/Register
redirects me on404
page .Also in addition , I see that it works on
localhost
, but it doesn't when it is deployed on domain. Can't find out the reason . Seems like localhost browser just transform , but domain doesn't . Any ideas ?In prodcution , it just started on docker
also , here is my
_middleware
:maybe it is possible to fix here without pain and impact ?
Beta Was this translation helpful? Give feedback.
All reactions