Levels of routes redirection
-
dns / proxy (cloudlare for instance)
-
web server config (virtualhost, .htacess)
-
laravel router
-
vue router
error saying that it's an unknown route
=> 3) or 4)
Standard 3) is 404 page
=> probably 4)
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
When I load the VueJS app with this route : https://mydomain.fr, it redirects to https://mydomain.fr/login.
But when I want to load immediately the https://mydomain.fr/login (for example by refreshing browser), it generates an error saying that it's an unknown route.
The routes are defined and I don't understand what could be wrong.
I don't ever see what code I could share so that you can help me (I could share the entire code ;)). So ask me and I show it.
Thanks for your help ;).
Vincent
Levels of routes redirection
dns / proxy (cloudlare for instance)
web server config (virtualhost, .htacess)
laravel router
vue router
error saying that it's an unknown route
=> 3) or 4)
Standard 3) is 404 page
=> probably 4)
Please or to participate in this conversation.