schmittjoh/JMSI18nRoutingBundle — Issue #22: Permanent Redirect in prefix mode
Author: soeurdefeo
Created: 2012-02-06 08:39:50+00:00
State: open

Hi,
at the moment there is an 302 http code when redirecting to the localized page in prefixing mode. Can we change it to an permanent redirect (301)? It's better for SEO and avoids indexing as duplicated content.

I think change is required in JMS\I18nRoutingBundle\EventListener\LocalChoosingListener.php l. 50 as second parameter for the RedirectResponse.

Thank you.