xxxxxxxxxx
return redirect()->route('example_route', '#section1');
xxxxxxxxxx
return redirect()->route('route_name');
//with data
return redirect()->route('route_name', ['key' => $value]);
xxxxxxxxxx
Route::redirect('/here', '/there');
or
return redirect(route('register'));
xxxxxxxxxx
Route::post('/user/profile', function () {
// Update the user's profile...
return redirect('/dashboard')->with('status', 'Profile updated!');
});