Laravel’s documentation doesn’t make this obvious, but when you are using a redirect you can change what the status code of the redirect is.
Strive For Success
Life is hard. It’s one of those clichés which happens to be true. Despite this, it’s always better to strive for success than to accept defeat. I know this because I have lived it.
Wildcards in Laravel Routes
Laravel doesn’t have a way to use wildcards in routes by default. However, you can add one in by using route parameters and regex constraints. Don’t worry: it’s super-easy to set up!