]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - Apply some rewrites SIRONAMAIN-1170
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 29 Aug 2017 08:53:37 +0000 (10:53 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 29 Aug 2017 08:53:37 +0000 (10:53 +0200)
customer/sirona-aem/production.yaml

index cba2e1d13aed2d1a9c13294599246ef6d7497b48..5971f86b15345b9cd8260cfee88ca14578a0875f 100644 (file)
@@ -634,6 +634,8 @@ infra::profile::aem::publish::pp_vhosts:
         rewrite_rule:
           - '^/de-de.html$ https://www1.dentsplysirona.com/de-de/produkte/behandlungseinheiten/behandlungsleuchten/ledview-plus.html [R=301,L]'
           - '^/en-us.html$ https://www1.dentsplysirona.com/en-us/products/treatment-centers/treatment-lights/ledview-plus.html [R=301,L]'
+          - '^/it-it.html$ https://www1.dentsplysirona.com/it-it/prodotti/centri-di-trattamento/intego-ambidestro.html [R=301,L]'
+          - '^/fr-fr.html$ https://www1.dentsplysirona.com/fr-fr/produits/postes-de-traitement/eclairage/ledview-plus.html [R=301,L]'
 # Sirona IntegoAmbidextrous.com
   integoambidextrous:
     serveraliases:
@@ -716,6 +718,9 @@ infra::profile::aem::publish::pp_vhosts:
           - '^/en-us/benefits/ergonomic-design/your-team.html$ https://www1.dentsplysirona.com/en/products/treatment-centers/intego-ambidextrous/benefits/ergonomic-design/your-team.html [R=301,L]'
           - '^/en-us/benefits/ergonomic-design/for-you.html$ https://www1.dentsplysirona.com/en/products/treatment-centers/intego-ambidextrous/benefits/ergonomic-design/for-you.html [R=301,L]'
           - '^/en-us/benefits/ergonomic-design/your-patients.html$ https://www1.dentsplysirona.com/en/products/treatment-centers/intego-ambidextrous/benefits/ergonomic-design/your-patients.html [R=301,L]'
+      - comment: 'Migration to flagship site SIRONAMAIN-1170'
+        rewrite_rule:
+          - '^/it-it.html$ https://www1.dentsplysirona.com/it-it/prodotti/centri-di-trattamento/intego-ambidestro.html [R=301,L]'
 # Sirona spotlight.dentsplysirona.com
   spotlight:
     serveraliases:
@@ -1241,12 +1246,17 @@ infra::profile::aem::publish::pp_vhosts:
         rewrite_cond:
           - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?(simply-faster-zirconia|simplyfasterzirconia)\.com$'
         rewrite_rule:
-          - ^(.*)$ https://www1.dentsplysirona.com/en/solutions/topics/single-visit-dentistry-with-cerec/advantages/zirconia.html [R=301,L]
+          - '^(.*)$ https://www1.dentsplysirona.com/en/solutions/topics/single-visit-dentistry-with-cerec/advantages/zirconia.html [R=301,L]'
       - comment: 'Rewrites zirconia.de'
         rewrite_cond:
           - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?(simply-faster-zirconia|simplyfasterzirconia)\.de$'
         rewrite_rule:
-          - ^(.*)$ https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec/vorteile/zirkonoxid.html [R=301,L]
+          - '^(.*)$ https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec/vorteile/zirkonoxid.html [R=301,L]'
+      - comment: 'Rewrite zirconia.it'
+        rewrite_cond:
+          - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?(simply-faster-zirconia|simplyfasterzirconia)\.it$'
+        rewrite_rule:
+          - '^(.*)$ https://www1.dentsplysirona.com/it-it/soluzioni/altri-argomenti/trattamenti-odontoiatrici-unica-seduta-cerec/advantages/zirconia.html [R=301,L]'
       - comment: 'rediret to www'
         rewrite_cond:
           - '%%{ich-trickse}{HTTP_HOST} !^www\. [NC]'
@@ -1262,11 +1272,12 @@ infra::profile::aem::publish::pp_vhosts:
           - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?(simply-faster-zirconia|simplyfasterzirconia)\.fr$'
         rewrite_rule:
           - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.simply-faster-zirconia.fr/fr.html [R=302,L]'
-      - comment: 'Rewrite zur Startseite zirconia.it'
-        rewrite_cond:
-          - '%%{ich-trickse}{HTTP_HOST} ^(www\.)?(simply-faster-zirconia|simplyfasterzirconia)\.it$'
+      - comment: 'Rewrite der Subpages with wrong language domain (Example: http://www.simply-faster-zirconia.es/it.html)'
         rewrite_rule:
-          - '^/$ %%{ich-trickse}{REQUEST_SCHEME}://www.simply-faster-zirconia.it/it.html [R=302,L]'
+          - '^/it.html$ https://www1.dentsplysirona.com/it-it/soluzioni/altri-argomenti/trattamenti-odontoiatrici-unica-seduta-cerec/advantages/zirconia.html [R=301,L]'
+          - '^/de.html$ https://www1.dentsplysirona.com/de-de/loesungen/themen/single-visit-dentistry-mit-cerec/vorteile/zirkonoxid.html [R=301,L]'
+          - '^/en.html$ https://www1.dentsplysirona.com/en/solutions/topics/single-visit-dentistry-with-cerec/advantages/zirconia.html [R=301,L]'
+
 # Sirona lp.dentsplysirona.com
   landingpages:
     serveraliases: