From 94b357562e4814aeef66f45cc7564270dedc6901 Mon Sep 17 00:00:00 2001 From: Baptiste Niviere Date: Wed, 15 Dec 2021 15:31:42 -0800 Subject: [PATCH 1/2] removed new changes --- web/robots.txt | 53 +------------------------------------------------- 1 file changed, 1 insertion(+), 52 deletions(-) diff --git a/web/robots.txt b/web/robots.txt index e4c26f0a..2a93fe28 100644 --- a/web/robots.txt +++ b/web/robots.txt @@ -35,72 +35,21 @@ Allow: /profiles/*.png Allow: /profiles/*.svg #Eviction redirects 10-14-2021 Allow: /eviction -Allow: /eviction-covid-protection -Allow: /eviction-index Allow: /eviction-landlord Allow: /eviction-landlord/after-trial -Allow: /eviction-landlord/ask-for-default Allow: /eviction-landlord/ask-for-judgment Allow: /eviction-landlord/dismiss-case Allow: /eviction-landlord/file Allow: /eviction-landlord/fill-out -Allow: /eviction-landlord/financial-distress-declaration Allow: /eviction-landlord/notice -Allow: /eviction-landlord/notice-after -Allow: /eviction-landlord/notice-deliver -Allow: /eviction-landlord/notice-types Allow: /eviction-landlord/serve -Allow: /eviction-landlord/serve-substituted -Allow: /eviction-landlord/trial Allow: /eviction-mediation -Allow: /eviction-resources Allow: /eviction-tenant -Allow: /eviction-tenant/financial-distress-declaration -Allow: /eviction-tenant/lose-case -Allow: /eviction-tenant/lose-case/ask-more-time -Allow: /eviction-tenant/lose-case/ask-set-aside -Allow: /eviction-tenant/not-on-lease Allow: /eviction-tenant/notice -Allow: /eviction-tenant/notice-options -Allow: /eviction-tenant/notice-types -Allow: /eviction-tenant/respond -Allow: /eviction-tenant/respond-defenses Allow: /eviction-tenant/respond-file -Allow: /eviction-tenant/respond-serve Allow: /eviction-tenant/summons-complaint Allow: /eviction-tenant/trial -Allow: /es/desalojo-arrendador/presentar -Allow: /es/desalojo-arrendador/tipos-aviso -Allow: /es/desalojo-inquilino/aviso -Allow: /es/desalojo-inquilino/citacion-demanda -Allow: /es/desalojo-inquilino/juicio -Allow: /es/desalojo-inquilino/opciones-aviso -Allow: /es/desalojo-inquilino/perder-caso/solicitar-anulacion -Allow: /es/desalojo-inquilino/perder-caso/solicitar-mas-tiempo -Allow: /es/desalojo-inquilino/responder-presentacion -Allow: /es/desalojo-inquilino/respuesta -Allow: /es/desalojo-inquilino/respuesta-defensas -Allow: /es/desalojo-inquilino/respuesta-entrega-legal -Allow: /es/desalojo-inquilino/sin-contrato-de-alquiler -Allow: /es/desalojo-inquilino/tipos-aviso -Allow: /es/desalojo-mediacion -Allow: /es/desalojo-propietario -Allow: /es/desalojo-propietario/aviso-despues -Allow: /es/desalojo-propietario/aviso-entrega -Allow: /es/desalojo-propietario/desestimar-caso -Allow: /es/desalojo-propietario/despues-del-juicio -Allow: /es/desalojo-propietario/entrega-legal -Allow: /es/desalojo-propietario/entrega-sustituida -Allow: /es/desalojo-propietario/juicio -Allow: /es/desalojo-propietario/llenar -Allow: /es/desalojo-propietario/solicitar-fallo -Allow: /es/desalojo-propietario/solicitar-falta-de-comparecencia -Allow: /es/desalojo-recursos -Allow: /es/eviction -Allow: /es/eviction-landlord/notice -Allow: /es/eviction-tenant -Allow: /es/eviction-tenant/lose-case -Allow: /es/indice-de-desalojo +Allow: /eviction-tenant/lose-case # Directories Disallow: /core/ Disallow: /profiles/ From d7888e5f89dca348103f1729db93341762741299 Mon Sep 17 00:00:00 2001 From: Baptiste Niviere Date: Wed, 15 Dec 2021 15:35:04 -0800 Subject: [PATCH 2/2] added patch --- composer.json | 3 +- patches/robots-3.patch | 78 ++++++++++++++++++++++++++++++++++++++++++ web/robots.txt | 53 +++++++++++++++++++++++++++- 3 files changed, 132 insertions(+), 2 deletions(-) create mode 100644 patches/robots-3.patch diff --git a/composer.json b/composer.json index 6b70f8fd..ee46f8e6 100644 --- a/composer.json +++ b/composer.json @@ -245,7 +245,8 @@ "post-drupal-scaffold-cmd": [ "patch -p1 < patches/gitattributes.patch", "patch -p1 < patches/robots.patch", - "patch -p1 < patches/robots-2.patch" + "patch -p1 < patches/robots-2.patch", + "patch -p1 < patches/robots-3.patch" ], "build-assets": [ "@prepare-for-pantheon", diff --git a/patches/robots-3.patch b/patches/robots-3.patch new file mode 100644 index 00000000..3b38c4b2 --- /dev/null +++ b/patches/robots-3.patch @@ -0,0 +1,78 @@ +diff --git a/web/robots.txt b/web/robots.txt +index 2a93fe28..e4c26f0a 100644 +--- a/web/robots.txt ++++ b/web/robots.txt +@@ -35,21 +35,72 @@ Allow: /profiles/*.png + Allow: /profiles/*.svg + #Eviction redirects 10-14-2021 + Allow: /eviction ++Allow: /eviction-covid-protection ++Allow: /eviction-index + Allow: /eviction-landlord + Allow: /eviction-landlord/after-trial ++Allow: /eviction-landlord/ask-for-default + Allow: /eviction-landlord/ask-for-judgment + Allow: /eviction-landlord/dismiss-case + Allow: /eviction-landlord/file + Allow: /eviction-landlord/fill-out ++Allow: /eviction-landlord/financial-distress-declaration + Allow: /eviction-landlord/notice ++Allow: /eviction-landlord/notice-after ++Allow: /eviction-landlord/notice-deliver ++Allow: /eviction-landlord/notice-types + Allow: /eviction-landlord/serve ++Allow: /eviction-landlord/serve-substituted ++Allow: /eviction-landlord/trial + Allow: /eviction-mediation ++Allow: /eviction-resources + Allow: /eviction-tenant ++Allow: /eviction-tenant/financial-distress-declaration ++Allow: /eviction-tenant/lose-case ++Allow: /eviction-tenant/lose-case/ask-more-time ++Allow: /eviction-tenant/lose-case/ask-set-aside ++Allow: /eviction-tenant/not-on-lease + Allow: /eviction-tenant/notice ++Allow: /eviction-tenant/notice-options ++Allow: /eviction-tenant/notice-types ++Allow: /eviction-tenant/respond ++Allow: /eviction-tenant/respond-defenses + Allow: /eviction-tenant/respond-file ++Allow: /eviction-tenant/respond-serve + Allow: /eviction-tenant/summons-complaint + Allow: /eviction-tenant/trial +-Allow: /eviction-tenant/lose-case ++Allow: /es/desalojo-arrendador/presentar ++Allow: /es/desalojo-arrendador/tipos-aviso ++Allow: /es/desalojo-inquilino/aviso ++Allow: /es/desalojo-inquilino/citacion-demanda ++Allow: /es/desalojo-inquilino/juicio ++Allow: /es/desalojo-inquilino/opciones-aviso ++Allow: /es/desalojo-inquilino/perder-caso/solicitar-anulacion ++Allow: /es/desalojo-inquilino/perder-caso/solicitar-mas-tiempo ++Allow: /es/desalojo-inquilino/responder-presentacion ++Allow: /es/desalojo-inquilino/respuesta ++Allow: /es/desalojo-inquilino/respuesta-defensas ++Allow: /es/desalojo-inquilino/respuesta-entrega-legal ++Allow: /es/desalojo-inquilino/sin-contrato-de-alquiler ++Allow: /es/desalojo-inquilino/tipos-aviso ++Allow: /es/desalojo-mediacion ++Allow: /es/desalojo-propietario ++Allow: /es/desalojo-propietario/aviso-despues ++Allow: /es/desalojo-propietario/aviso-entrega ++Allow: /es/desalojo-propietario/desestimar-caso ++Allow: /es/desalojo-propietario/despues-del-juicio ++Allow: /es/desalojo-propietario/entrega-legal ++Allow: /es/desalojo-propietario/entrega-sustituida ++Allow: /es/desalojo-propietario/juicio ++Allow: /es/desalojo-propietario/llenar ++Allow: /es/desalojo-propietario/solicitar-fallo ++Allow: /es/desalojo-propietario/solicitar-falta-de-comparecencia ++Allow: /es/desalojo-recursos ++Allow: /es/eviction ++Allow: /es/eviction-landlord/notice ++Allow: /es/eviction-tenant ++Allow: /es/eviction-tenant/lose-case ++Allow: /es/indice-de-desalojo + # Directories + Disallow: /core/ + Disallow: /profiles/ diff --git a/web/robots.txt b/web/robots.txt index 2a93fe28..e4c26f0a 100644 --- a/web/robots.txt +++ b/web/robots.txt @@ -35,21 +35,72 @@ Allow: /profiles/*.png Allow: /profiles/*.svg #Eviction redirects 10-14-2021 Allow: /eviction +Allow: /eviction-covid-protection +Allow: /eviction-index Allow: /eviction-landlord Allow: /eviction-landlord/after-trial +Allow: /eviction-landlord/ask-for-default Allow: /eviction-landlord/ask-for-judgment Allow: /eviction-landlord/dismiss-case Allow: /eviction-landlord/file Allow: /eviction-landlord/fill-out +Allow: /eviction-landlord/financial-distress-declaration Allow: /eviction-landlord/notice +Allow: /eviction-landlord/notice-after +Allow: /eviction-landlord/notice-deliver +Allow: /eviction-landlord/notice-types Allow: /eviction-landlord/serve +Allow: /eviction-landlord/serve-substituted +Allow: /eviction-landlord/trial Allow: /eviction-mediation +Allow: /eviction-resources Allow: /eviction-tenant +Allow: /eviction-tenant/financial-distress-declaration +Allow: /eviction-tenant/lose-case +Allow: /eviction-tenant/lose-case/ask-more-time +Allow: /eviction-tenant/lose-case/ask-set-aside +Allow: /eviction-tenant/not-on-lease Allow: /eviction-tenant/notice +Allow: /eviction-tenant/notice-options +Allow: /eviction-tenant/notice-types +Allow: /eviction-tenant/respond +Allow: /eviction-tenant/respond-defenses Allow: /eviction-tenant/respond-file +Allow: /eviction-tenant/respond-serve Allow: /eviction-tenant/summons-complaint Allow: /eviction-tenant/trial -Allow: /eviction-tenant/lose-case +Allow: /es/desalojo-arrendador/presentar +Allow: /es/desalojo-arrendador/tipos-aviso +Allow: /es/desalojo-inquilino/aviso +Allow: /es/desalojo-inquilino/citacion-demanda +Allow: /es/desalojo-inquilino/juicio +Allow: /es/desalojo-inquilino/opciones-aviso +Allow: /es/desalojo-inquilino/perder-caso/solicitar-anulacion +Allow: /es/desalojo-inquilino/perder-caso/solicitar-mas-tiempo +Allow: /es/desalojo-inquilino/responder-presentacion +Allow: /es/desalojo-inquilino/respuesta +Allow: /es/desalojo-inquilino/respuesta-defensas +Allow: /es/desalojo-inquilino/respuesta-entrega-legal +Allow: /es/desalojo-inquilino/sin-contrato-de-alquiler +Allow: /es/desalojo-inquilino/tipos-aviso +Allow: /es/desalojo-mediacion +Allow: /es/desalojo-propietario +Allow: /es/desalojo-propietario/aviso-despues +Allow: /es/desalojo-propietario/aviso-entrega +Allow: /es/desalojo-propietario/desestimar-caso +Allow: /es/desalojo-propietario/despues-del-juicio +Allow: /es/desalojo-propietario/entrega-legal +Allow: /es/desalojo-propietario/entrega-sustituida +Allow: /es/desalojo-propietario/juicio +Allow: /es/desalojo-propietario/llenar +Allow: /es/desalojo-propietario/solicitar-fallo +Allow: /es/desalojo-propietario/solicitar-falta-de-comparecencia +Allow: /es/desalojo-recursos +Allow: /es/eviction +Allow: /es/eviction-landlord/notice +Allow: /es/eviction-tenant +Allow: /es/eviction-tenant/lose-case +Allow: /es/indice-de-desalojo # Directories Disallow: /core/ Disallow: /profiles/