Laravel Route::redirect tip
![Laravel Route::redirect tip](/content/images/size/w2000/2020/07/LARAVEL-tips-and-TRICKS.png)
Did you know? You can quickly define a redirect route using Route::redirect('from', 'to')
without defining a full route or controller for performing a simple redirect. You can customize the status code returned using the optional third parameter e.g 301 for permanent redirects. Or just use the Route::permanentRedirect
method.