Open cmuench opened 6 years ago
Please note that you would probably have to accompany any similar changes with accompanying SEO changes, namely adjust sitemap.xml
generation and\or implement <link rel="alternate" hreflang="..." ... />
tags rendering on corresponding pages themselves.
This is necessary in order to inform the search engines that these URLs should be considered as localized versions of the same page rather than completely separate pages.
Further reading: https://moz.com/learn/seo/hreflang-tag https://support.google.com/webmasters/answer/189077?hl=en https://support.google.com/webmasters/answer/2620865?hl=en
Last week, Symfony published a new component for realizing international routes. http://symfony.com/blog/new-in-symfony-4-1-internationalized-routing
I would like to see this feature in the Magento Base Router. This will offer us locale specific routes.
e.g.
/contact
/kontakt
/contacto
This could be solved by adding new config elements to
routes.xml
.My idea is to provide a general replacement for a frontName and explicit mapped rewrites for single actions.
Draft Example: