PSR-15 middleware to normalize the trailing slash of the uri path
-
Updated
Oct 29, 2021 - PHP
PSR-15 middleware to normalize the trailing slash of the uri path
🔌 End your Laravel project routes with trailing slash
Redirecting HTTP to HTTPS. It forces SSL (HTTPS) when HTTP is required using Express (Nodejs) and remove www and trailing slash on your domain.
Let laravel route work as exactly as how we define it including the trailing slash.
Ensure your string ends with a slash
If your server not configured for redirect from urls with slash to url without it, you can use this method in Laravel
Add or remove trailing slash
Add a description, image, and links to the trailing-slash topic page so that developers can more easily learn about it.
To associate your repository with the trailing-slash topic, visit your repo's landing page and select "manage topics."