From 61cca72bd4ce14980f44848b3b47eac85ee25f55 Mon Sep 17 00:00:00 2001 From: Dorothy Yeager Date: Thu, 19 Oct 2023 13:48:42 -0400 Subject: [PATCH 1/5] Add www redirect for form 1 path Redirects www.fec.gov/pdf/fecfrm1 --- redirects-www.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/redirects-www.conf b/redirects-www.conf index edaa7f3..5c43bcc 100644 --- a/redirects-www.conf +++ b/redirects-www.conf @@ -294,6 +294,7 @@ rewrite ^/pdf/RAD_Procedures_2013-14.pdf /resources/cms-content/documents/2013-2 rewrite ^/pdf/RAD_Procedures.pdf /resources/cms-content/documents/2011-2012_RAD_review_and_referral_procedures.pdf redirect; # Redirects for /pdf/forms/ +rewrite ^/pdf/forms/fecfrm1.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1auth.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1ssf.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1nc.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; From e6d900b561df3ebb55b2c02f28f062363ba8f435 Mon Sep 17 00:00:00 2001 From: John Carroll Date: Sun, 22 Oct 2023 01:29:33 -0400 Subject: [PATCH 2/5] redirect for /members/former_members/ --- redirects-www.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/redirects-www.conf b/redirects-www.conf index 5c43bcc..1016164 100644 --- a/redirects-www.conf +++ b/redirects-www.conf @@ -294,7 +294,6 @@ rewrite ^/pdf/RAD_Procedures_2013-14.pdf /resources/cms-content/documents/2013-2 rewrite ^/pdf/RAD_Procedures.pdf /resources/cms-content/documents/2011-2012_RAD_review_and_referral_procedures.pdf redirect; # Redirects for /pdf/forms/ -rewrite ^/pdf/forms/fecfrm1.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1auth.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1ssf.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1nc.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; @@ -548,6 +547,9 @@ rewrite ^/law/litigation/(.*) https://www.fec.gov/legal-resources/court-cases/ r rewrite ^/legal-resources/pdf/record/(.*).pdf https://www.fec.gov/resources/record/$1.pdf redirect; rewrite ^/legal-resources/court-cases/pdf/record/(.*).pdf https://www.fec.gov/resources/record/$1.pdf redirect; +# Broader redirect for /members/former_members/ +rewrite ^/members/former_members/(.*) /resources/about-fec/commissioners/$1 redirect; + # Broader redirects for /members/ rewrite ^/members/(.*).pdf /resources/about-fec/commissioners/$1.pdf redirect; rewrite ^/members/(.*).doc /resources/about-fec/commissioners/$1.doc redirect; From 1a1eeb3b3ef8d3a21aeae2c5f209116e84f028d2 Mon Sep 17 00:00:00 2001 From: John Carroll Date: Sun, 22 Oct 2023 01:32:17 -0400 Subject: [PATCH 3/5] restore fecfrm1 redirect inadvertently deleted --- redirects-www.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/redirects-www.conf b/redirects-www.conf index 1016164..cccdcc1 100644 --- a/redirects-www.conf +++ b/redirects-www.conf @@ -294,6 +294,7 @@ rewrite ^/pdf/RAD_Procedures_2013-14.pdf /resources/cms-content/documents/2013-2 rewrite ^/pdf/RAD_Procedures.pdf /resources/cms-content/documents/2011-2012_RAD_review_and_referral_procedures.pdf redirect; # Redirects for /pdf/forms/ +rewrite ^/pdf/forms/fecfrm1.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1auth.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1ssf.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; rewrite ^/pdf/forms/fecfrm1nc.pdf /resources/cms-content/documents/policy-guidance/fecfrm1.pdf redirect; @@ -548,7 +549,7 @@ rewrite ^/legal-resources/pdf/record/(.*).pdf https://www.fec.gov/resources/reco rewrite ^/legal-resources/court-cases/pdf/record/(.*).pdf https://www.fec.gov/resources/record/$1.pdf redirect; # Broader redirect for /members/former_members/ -rewrite ^/members/former_members/(.*) /resources/about-fec/commissioners/$1 redirect; +rewrite ^/members/former_members/(.*) /resources/about-fec/commissioners/$1 redirect # Broader redirects for /members/ rewrite ^/members/(.*).pdf /resources/about-fec/commissioners/$1.pdf redirect; From 46f35eea76d7502427bc1ad6bcf78e48629d74fb Mon Sep 17 00:00:00 2001 From: John Carroll Date: Sun, 22 Oct 2023 01:51:00 -0400 Subject: [PATCH 4/5] add missing semi-colon --- redirects-www.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redirects-www.conf b/redirects-www.conf index cccdcc1..eb6609a 100644 --- a/redirects-www.conf +++ b/redirects-www.conf @@ -549,7 +549,7 @@ rewrite ^/legal-resources/pdf/record/(.*).pdf https://www.fec.gov/resources/reco rewrite ^/legal-resources/court-cases/pdf/record/(.*).pdf https://www.fec.gov/resources/record/$1.pdf redirect; # Broader redirect for /members/former_members/ -rewrite ^/members/former_members/(.*) /resources/about-fec/commissioners/$1 redirect +rewrite ^/members/former_members/(.*) /resources/about-fec/commissioners/$1 redirect; # Broader redirects for /members/ rewrite ^/members/(.*).pdf /resources/about-fec/commissioners/$1.pdf redirect; From efb28343c2c16dc3b804fe3c4e61afc78aa8ddc8 Mon Sep 17 00:00:00 2001 From: John Carroll Date: Fri, 27 Oct 2023 09:47:24 -0400 Subject: [PATCH 5/5] fix redirect for national-party-committee-accounts, temp disable incorrect policy-guidance redirect --- redirects-www.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/redirects-www.conf b/redirects-www.conf index eb6609a..3499ac1 100644 --- a/redirects-www.conf +++ b/redirects-www.conf @@ -475,7 +475,7 @@ rewrite ^/resources/updates/agendas/2011/mtgdoc_1145a.pdf /resources/cms-content # Redirects for /updates/ rewrite ^/updates/fec-adopts-interim-verification-procedure-for-filings-containing-possibly-false-or-fictitious-information/ /updates/guidance-search/fec-adopts-interim-verification-procedure-for-filings-containing-possibly-false-or-fictitious-information/ redirect; -rewrite ^/updates/fec-issues-interim-reporting-guidance-for-national-party-committee-accounts/ /updates/guidance-search/fec-statement-on-2/ redirect; +rewrite ^/updates/fec-issues-interim-reporting-guidance-for-national-party-committee-accounts/ /updates/guidance-search/fec-issues-interim-reporting-guidance-for-national-party-committee-accounts/ redirect; rewrite ^/updates/fec-provides-guidance-following-us-district-court-decision-crew-v-fec-316-f-supp-3d-349-ddc-2018/ /updates/guidance-search/fec-provides-guidance-following-us-district-court-decision-crew-v-fec-316-f-supp-3d-349-ddc-2018/ redirect; rewrite ^/updates/fec-statement-on-carey-fec/ /updates/guidance-search/fec-statement-on-carey-fec/ redirect; rewrite ^/updates/fec-statement-on-the-dc-circuit-court-of-appeals-decision-in/ /updates/guidance-search/fec-statement-on-the-dc-circuit-court-of-appeals-decision-in/ redirect; @@ -561,7 +561,7 @@ rewrite ^/pages/report_notices/(.*) https://www.fec.gov/help-candidates-and-comm # Broader redirects for /pdf/ rewrite ^/pdf/ar([0-9]+) https://www.fec.gov/resources/cms-content/documents/ar$1.pdf redirect; -rewrite ^/pdf/forms/(.*) https://www.fec.gov/resources/cms-content/policy-guidance/documents/$1 redirect; +# rewrite ^/pdf/forms/(.*) https://www.fec.gov/resources/cms-content/policy-guidance/documents/$1 redirect; rewrite ^/pdf/legrec([0-9]+) https://www.fec.gov/resources/cms-content/documents/legrec$1.pdf redirect; rewrite ^/pdf/nprm/(.*) /resources/legal-resources/rulemakings/nprm/$1 redirect; rewrite ^/pdf/record/(.*).pdf /resources/record/$1.pdf redirect;