Answers for "redirect url in laravel"

PHP
3

laravel route redirect

Route::redirect('/here', '/there');
or
return redirect(route('register'));
Posted by: Guest on July-17-2021
1

laravel redirect external url

return redirect()->away('https://www.google.com');
Posted by: Guest on January-27-2021
3

redirect to route laravel

Route::post('/user/profile', function () {
    // Update the user's profile...

    return redirect('/dashboard')->with('status', 'Profile updated!');
});
Posted by: Guest on December-10-2020

Browse Popular Code Answers by Language