diff --git a/routing/redirect_in_config.rst b/routing/redirect_in_config.rst
index 89864c4c06c..a578acceb28 100644
--- a/routing/redirect_in_config.rst
+++ b/routing/redirect_in_config.rst
@@ -113,7 +113,10 @@ action:
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::redirectAction
defaults:
route: sonata_admin_dashboard
+ # make a permanent redirection...
permanent: true
+ # ...and keep the original query string parameters
+ keepQueryParams: true
.. code-block:: xml
@@ -129,7 +132,10 @@ action:
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: