Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BobZamin's avatar

Laravel Jetstream: Profile page adds a "user" prefix to all my links and they stop working

I have Laravel 11 with jetstream scaffolding. I copied jetstream routes to my routes file and customized them and everything's fine except - When I visit the user profile page, all the links in the navigation menu get changed, they get a "user" prefix prepended to them. For example, I have 2 links "Dashboard" and "Users" refering to the named routes "dashboard" and "users". Hovering over the links givves localhost:8000/dashboard and localhost:8000/users, however, as soon as I visit localhost:8000/user/dashboard, the links change, now hovering over them gives localhost:8000/user/dashboard and localhost:8000/user/users which don't exist. Any idea what I'm doing wrong?

0 likes
0 replies

Please or to participate in this conversation.