我是Sitecore
開發人員嘗試設置重定向規則。我正在使用
301 Redirect Module 工具,我認爲這個概念與典型的Sitecore
重定向類似。在我們的測試Sitecore CMS
,我創建了Redirect Rule
類型的項目,具有Response Status Code
設置爲301 Moved Permanent
,它具有以下的重定向規則:Sitecore重定向規則在URL中丟失語言代碼
where the URL contains Jan2017 replace the static Jan2017 with the static
2017/01
這成功地重定向 https://test.willistowerswatson.com/de-DE/press/Feb2017/bAV-Reform-BR-Ausschuesse到https://test..willistowerswatson.com/press/2017/02/bAV-Reform-BR-Ausschuesse
唯一的問題是,爲什麼語言代碼de-DE
丟失?
我想說保證源URL
的語言代碼在目的地URL
。我怎樣才能做到這一點?