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

maikama8's avatar

User and Admin routes Laravel

I’m having error with admin and user routes. I created auth in user and I created for admin also and but in admin login controller I changed the RouteServiceprovider::HOME to ‘admin/home’ (my admin) home page.... but anytime I login it redirects me to user login page. Please help I’m a newbie in Laravel.

0 likes
5 replies
MaxwellGael's avatar

When you start a new project, what's your usual flow? Do you first define models, controllers, routes...etc or do you first try to design what the page will look like and do the rest accordingly.

In my opinion the page design and usability is the most important thing in website, regardless of what the website is for that's why I tend to spend so much time "perfecting" the page design and how specific things look before I get to the functionality. https://19216801.onl/ https://routerlogin.uno/ https://192168ll.link/ I am a backend developer and I don't like working on frontend that's why I try to "get it out of the way" first. At the same time I spend way too much time with things like what color should be my background..etc and get distracted quite a lot.

What's your take on this? How do you develop the early phases of your projects?

maikama8's avatar

I firstly design what the page looks like before moving to the Models and Controllers

martinbean's avatar

@maikama8 Don’t share your mobile number on a public forum and request one-to-one support from other forum users. That’s not what we’re here for.

Please or to participate in this conversation.