If you want to implement the i18n redirect guesser, you need to add {i18n_localized_target_page=4}
instead of the document path in the target
section.
- Be sure that your documents are connected, otherwise the detection won`t work.
- If you want to redirect an unknown host (Example A), be sure you set the redirect
priority
to99
.
Domain: mydomain.com
Document Tree:
- de
- kollektion
- kampagne
- en
- collection
- landingpage
- Enter host
my-old-collection-domain.com
- i18n should redirect to
mydomain.com/de/kollektion
if user is german - i18n should redirect to
mydomain.com/en/collection
if user is english
- Enter host
mydomain.com/landingpage
- i18n should redirect to
mydomain.com/de/kampagne
if user is german - i18n should redirect to
mydomain.com/en/landingpage
if user is english