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.
Laravel Route::redirect tip

Subscribe to Code Bytes
Get the latest posts delivered right to your inbox