From fc3cda11ade17dbe366c3dd4daf746eb424a8222 Mon Sep 17 00:00:00 2001 From: "David E. Bernholdt" Date: Mon, 6 Nov 2023 15:21:20 -0500 Subject: [PATCH] Redirect both bare and trailing slash URLs --- activities/ideas-classic/index.md | 4 +++- activities/ideas-classic/methodologies.md | 4 +++- activities/ideas-classic/outreach.md | 4 +++- activities/ideas-classic/team.md | 4 +++- activities/ideas-classic/use-cases.md | 4 +++- activities/ideas-classic/xsdk.md | 4 +++- activities/ideas-watersheds/index.md | 6 ++++++ join.md | 4 +++- overview/index.md | 4 +++- resources/series/hpc-best-practices-webinars/index.md | 4 +++- resources/series/strategies-for-working-remotely/index.md | 4 +++- 11 files changed, 36 insertions(+), 10 deletions(-) diff --git a/activities/ideas-classic/index.md b/activities/ideas-classic/index.md index 0379ba3..a74b9e9 100644 --- a/activities/ideas-classic/index.md +++ b/activities/ideas-classic/index.md @@ -6,7 +6,9 @@ title: "IDEAS-Classic" blurb: "Improving software productivity for terrestrial ecosystem modeling" # This will redirect old links to the Wordpress site -redirect_from: /ideas-classic +redirect_from: + - /ideas-classic + - /ideas-classic/ --- diff --git a/activities/ideas-classic/methodologies.md b/activities/ideas-classic/methodologies.md index a7f8a63..33cca29 100644 --- a/activities/ideas-classic/methodologies.md +++ b/activities/ideas-classic/methodologies.md @@ -6,7 +6,9 @@ title: 'Methodologies and "How To"' blurb: "IDEAS-Classic" # This will redirect old links to the Wordpress site -redirect_from: /ideas-classic/how-to +redirect_from: + - /ideas-classic/how-to + - /ideas-classic/how-to/ --- diff --git a/activities/ideas-classic/outreach.md b/activities/ideas-classic/outreach.md index d24d442..dbab3fa 100644 --- a/activities/ideas-classic/outreach.md +++ b/activities/ideas-classic/outreach.md @@ -6,7 +6,9 @@ title: "Community Outreach" blurb: "IDEAS-Classic" # This will redirect old links to the Wordpress site -redirect_from: /ideas-classic/outreach +redirect_from: + - /ideas-classic/outreach + - /ideas-classic/outreach/ --- diff --git a/activities/ideas-classic/team.md b/activities/ideas-classic/team.md index 7e88380..f30303f 100644 --- a/activities/ideas-classic/team.md +++ b/activities/ideas-classic/team.md @@ -6,7 +6,9 @@ title: "Team" blurb: "IDEAS-Classic" # This will redirect old links to the Wordpress site -redirect_from: /ideas-classic/team +redirect_from: + - /ideas-classic/team + - /ideas-classic/team/ --- diff --git a/activities/ideas-classic/use-cases.md b/activities/ideas-classic/use-cases.md index ff73f21..575f1e6 100644 --- a/activities/ideas-classic/use-cases.md +++ b/activities/ideas-classic/use-cases.md @@ -6,7 +6,9 @@ title: "Use Cases" blurb: "IDEAS-Classic" # This will redirect old links to the Wordpress site -redirect_from: /ideas-classic/use-cases +redirect_from: + - /ideas-classic/use-cases + - /ideas-classic/use-cases/ --- diff --git a/activities/ideas-classic/xsdk.md b/activities/ideas-classic/xsdk.md index 0e3b77d..eccf761 100644 --- a/activities/ideas-classic/xsdk.md +++ b/activities/ideas-classic/xsdk.md @@ -6,7 +6,9 @@ title: "xSDK" blurb: "IDEAS-Classic" # This will redirect old links to the Wordpress site -redirect_from: /ideas-classic/xsdk +redirect_from: + - /ideas-classic/xsdk + - /ideas-classic/xsdk/ --- diff --git a/activities/ideas-watersheds/index.md b/activities/ideas-watersheds/index.md index 33d4c97..2156985 100644 --- a/activities/ideas-watersheds/index.md +++ b/activities/ideas-watersheds/index.md @@ -8,10 +8,16 @@ blurb: "Accelerating watershed science through a community-driven software ecosy # This will redirect old links to the Wordpress site redirect_from: - /ideas-watersheds + - /ideas-watersheds/ + - /ideas-watersheds/research-activities - /ideas-watersheds/research-activities/ + - /ideas-watersheds/software-ecosystem - /ideas-watersheds/software-ecosystem/ + - /ideas-watersheds/ideas-watersheds-team - /ideas-watersheds/ideas-watersheds-team/ + - /ideas-watersheds/events - /ideas-watersheds/events/ + - /ideas-watersheds/job-postings - /ideas-watersheds/job-postings/ --- diff --git a/join.md b/join.md index 012af43..4727086 100644 --- a/join.md +++ b/join.md @@ -6,7 +6,9 @@ title: "Join the Community!" blurb: "Working together to advance scientific software productivity" # This will redirect old links to the Wordpress site -redirect_from: /getting-involved +redirect_from: + - /getting-involved + - /getting-involved/ --- diff --git a/overview/index.md b/overview/index.md index c01eaf0..ecb401d 100644 --- a/overview/index.md +++ b/overview/index.md @@ -5,7 +5,9 @@ layout: page title: "Overview" blurb: "Advancing scientific productivity through better scientific software" -redirect_from: /ideas-home-page/about-ideas/ +redirect_from: + - /ideas-home-page/about-ideas + - /ideas-home-page/about-ideas/ --- diff --git a/resources/series/hpc-best-practices-webinars/index.md b/resources/series/hpc-best-practices-webinars/index.md index 0a53bd7..91b03e8 100644 --- a/resources/series/hpc-best-practices-webinars/index.md +++ b/resources/series/hpc-best-practices-webinars/index.md @@ -8,7 +8,9 @@ series: "HPC Best Practices Webinars" # This will redirect old links to the Wordpress site to the right page, at least. # With additional work, it may be possible to get the fragment id (specific event entry) # to work. Tracking this in https://github.com/ideas-productivity/ideas-productivity.github.io/issues/18 -redirect_from: /events/hpc-best-practices-webinars +redirect_from: + - /events/hpc-best-practices-webinars + - /events/hpc-best-practices-webinars/ --- diff --git a/resources/series/strategies-for-working-remotely/index.md b/resources/series/strategies-for-working-remotely/index.md index 2292214..5767008 100644 --- a/resources/series/strategies-for-working-remotely/index.md +++ b/resources/series/strategies-for-working-remotely/index.md @@ -8,7 +8,9 @@ series: "Strategies for Working Remotely" # This will redirect old links to the Wordpress site to the right page, at least. # With additional work, it may be possible to get the fragment id (specific event entry) # to work. Tracking this in https://github.com/ideas-productivity/ideas-productivity.github.io/issues/18 -redirect_from: /events/strategies-for-working-remotely-panels +redirect_from: + - /events/strategies-for-working-remotely-panels + - /events/strategies-for-working-remotely-panels/ ---