You are browsing the Symfony 4 documentation, which changes significantly from Symfony 3.x. If your app doesn't use Symfony 4 yet, browse the Symfony 3.4 documentation.

Redirect URLs with a Trailing Slash

4.1 version

Redirect URLs with a Trailing SlashΒΆ


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.