@domenico
To allow a "/" character after the base URL in Symfony, you need to configure your routing file appropriately.
1 2 3 4 |
# config/routes.yaml
base_route:
path: /{url}/
controller: AppControllerYourController::yourAction
|
Replace YourController and yourAction with the appropriate controller and action method names for your application.
1
|
php bin/console cache:clear |
After following these steps, your Symfony application will allow a trailing slash ("/") to be added after the base URL.