route with name laravel blade code example
Example 1: laraval routing
Route::redirect('/here', '/there', 301);
Example 2: laravel route
Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');
Route::redirect('/here', '/there', 301);
Route::get('user/profile', [UserProfileController::class, 'show'])->name('profile');