I've done alot of looking around but I can't seem to find the answer to an issue I am facing.
Is it possible to use the UrlRewrite module from the Sitecore marketplace to perform language specific redirects?
For example, let's say I have a multilingual site called example1.com and I want example1.com/en/initial-url to redirect to example1.com/en/redirected-url, but I only want this to happen for the 'en' language.
I wouldn't want example1.com/fr/initial-url to redirect anywhere.
In the Match section of the inbound rule I created, these were the values of each field:
Match Type - Matches the Pattern
Using - Regular Expressions
Pattern - en\-gb\/questions.*
Thank you.
UPDATE
I've managed to get this working by amending the Languages.AlwaysStripLanguage
setting to true
. As recommended by jrap, test thoroughly if you change this setting.