From b24956376ff570c8e5e817cbd9cd616045ca5188 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Wed, 28 Feb 2024 11:40:27 -0800 Subject: [PATCH 1/4] Redirects for changed path doc pages. --- netlify.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/netlify.toml b/netlify.toml index 96d6003..6d65cf7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -46,6 +46,10 @@ to = "/:splat" status = 200 [[redirects]] - from = "/plugins/drupal/legacy-versions.html" - to = "/plugins/drupal/legacy/plugins/drupal-8.html" - status = 200 + from = "/legacy-versions.html" + to = "/legacy/plugins/drupal-8.html" + status = 301 +[[redirects]] + from = "/drupal-multisite.html" + to = "/guides/drupal-multisite.html" + status = 301 From 562c57c08626b5d54e95513d19836a6756afcd84 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Wed, 28 Feb 2024 11:49:06 -0800 Subject: [PATCH 2/4] Modify redirects. --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 6d65cf7..0350e66 100644 --- a/netlify.toml +++ b/netlify.toml @@ -47,9 +47,9 @@ status = 200 [[redirects]] from = "/legacy-versions.html" - to = "/legacy/plugins/drupal-8.html" + to = "/plugins/drupal/legacy/drupal-8.html" status = 301 [[redirects]] from = "/drupal-multisite.html" - to = "/guides/drupal-multisite.html" + to = "/plugins/drupal/guides/drupal-multisite.html" status = 301 From 9e07d64b53d276af41efb44d40a7cd819915ccc8 Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Wed, 28 Feb 2024 12:32:12 -0800 Subject: [PATCH 3/4] Change redirect status. --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 0350e66..ba30be9 100644 --- a/netlify.toml +++ b/netlify.toml @@ -48,8 +48,8 @@ [[redirects]] from = "/legacy-versions.html" to = "/plugins/drupal/legacy/drupal-8.html" - status = 301 + status = 302 [[redirects]] from = "/drupal-multisite.html" to = "/plugins/drupal/guides/drupal-multisite.html" - status = 301 + status = 302 From 3818c0c70503f04be2024e06cd216422c9be8b9e Mon Sep 17 00:00:00 2001 From: Alec Reynolds Date: Wed, 28 Feb 2024 12:42:55 -0800 Subject: [PATCH 4/4] New redirect pattern. --- netlify.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netlify.toml b/netlify.toml index ba30be9..4ad52bf 100644 --- a/netlify.toml +++ b/netlify.toml @@ -50,6 +50,6 @@ to = "/plugins/drupal/legacy/drupal-8.html" status = 302 [[redirects]] - from = "/drupal-multisite.html" + from = "/plugins/drupal/drupal-multisite.html" to = "/plugins/drupal/guides/drupal-multisite.html" status = 302