WARNING:
You are browsing the documentation for Symfony 4.1 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.2.
Redirect URLs with a Trailing Slash
Redirect URLs with a Trailing Slash¶
Caution
In Symfony 4.1 the automatic URL redirection was improved as explained in Redirecting URLs with Trailing Slashes. That’s why you no longer need to do that redirection yourself and this article has been removed because it’s no longer needed.
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.