xxxxxxxxxx
# don't use the #url parameter in your web routes and controller, it is not meant for the backend.
Example : web.php
Route::get('/', function () {
return view('welcome');
})->name('welcome');
Example : welcome.blade.php
<a href="{{route('welcome')}}#about">{{ __('About')}}</a>