The redirect URL contains duplicate query string parameters if language embedding is enabled on the SXA site


Description

When language embedding is enabled on an SXA site, accessing an old URL that is defined in a Redirect Map and contains a query string might result in an incorrect redirect. In such cases, the query string parameters might appear in the wrong position in the redirected URL or be duplicated.

Solution

To resolve the issue, consider one of the following options: