Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
4.2.0, 4.3.0, 4.4.0beta2
-
None
Description
The switchlanguage module currently only works with siteaccesses. However, when you use uri map matching, it makes sense to allow url elements of the uri matching rules instead. Example:
Assuming the site access is named: foobar and the url element for this siteaccess is: foo Then... /switchlanguage/to/foobar/My-Article will redirect to /foobar/My-Article which does not work, because the correct URL is /foo/My-Article This will also not work: /switchlanguage/to/foo/My-Article because "foo" is not a siteaccess.
With the patch, the last URL in the example will work.