On your FortifyServiceProvider boot method add this:
// ./app/Providers/FortifyServiceProvider.php
public function boot()
{
Fortify::ignoreRoutes(); // <<< ADDED THIS LINE
// Below is the default configuration that comes with this provider
// If you changed it, you can keep your changes
Fortify::createUsersUsing(CreateNewUser::class);
Fortify::updateUserProfileInformationUsing(UpdateUserProfileInformation::class);
Fortify::updateUserPasswordsUsing(UpdateUserPassword::class);
Fortify::resetUserPasswordsUsing(ResetUserPassword::class);
}
This will tell Fortify to ignore its built-in route definitions.
Then copy Fortify's routes definitions to your ./routes/web.php file.
The package routes definitions are located in a file located at ./vendor/laravel/fortify/routes/routes.php from your project's root directory.
Do not change the routes inside this file.
Again, you should copy them to your local ./routes/web.php. Changes made inside the vendors folder are discarded when you update your project's dependencies.
You'll need to keep the controllers imports. But you can skip the route group as it only wraps inside the web middleware stack which your ./routes/web.php file already is wrapped around.
Then you can change the routes' paths to fit your needs.