]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - rewrite default language
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 4 Oct 2016 11:38:13 +0000 (13:38 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 4 Oct 2016 11:38:13 +0000 (13:38 +0200)
customer/sirona-aem/production.yaml

index 5d46ba5d37fc8cb2bd02392a7dac76bf71259c62..bcac8b15d500eacefce76c19041dade7e24b83ef 100644 (file)
@@ -233,6 +233,10 @@ site::profile::aem::publish::pp_vhosts:
           - '^/es/references/cases/jazan$ %%{ich-trickse}{REQUEST_SCHEME}://www.sirona.clinic/es-es/referencias/jazan.html [R=301,L]'
           - '^/es$ %%{ich-trickse}{REQUEST_SCHEME}://www.sirona.clinic/es-es.html [R=301,L]'
           - '^/en$ %%{ich-trickse}{REQUEST_SCHEME}://www.sirona.clinic/en-us.html [R=301,L]'
+      - default_lang:
+        comment: 'Rewrite for default language'
+        rewrite_rule:
+          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.sirona.clinic/en-us.html [R=301,L]'
 # Sirona Clinic Migration Stop
   danke-m1:
     serveraliases: