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

onlinemerch220's avatar

How to set custom page redirects in laravel 11

There's no "routeserviceprovider.php" after installing laravel 11. How do you redirect from one page to another in laravel 11. I'm just starting out.

0 likes
7 replies
Snapey's avatar

take lines of code and arrange them in a sensible order.

Well, what else did you expect based on the effort you put into the question?

1 like
onlinemerch220's avatar

@Snapey I am on the "build a voting app with laravel" series and I realised the initial configuration in the laravel version used in the course is different from laravel, that is, there's no routeserviceprovider.php as a result, I am stuck.

martinbean's avatar

@onlinemerch220 We’re not here to give you step-by-step instructions on building a complete application from start to finish.

Start writing some code. Create a thread if you get stuck on something specific.

onlinemerch220's avatar

@martinbean since there's no "routeserviceprovider.php", how do you redirect from one page to another in laravel 11

Snapey's avatar

@onlinemerch220 you start with some code from the earlier version, and you ask "how can I make this work with Laravel 11"

Please or to participate in this conversation.