Skip to content

Commit

Permalink
Merge pull request #379 from fecgov/dorothyyeager-frm1redirect
Browse files Browse the repository at this point in the history
Add www redirects for form 1 and former_members paths
  • Loading branch information
kathycarothers authored Oct 31, 2023
2 parents 43c02d1 + efb2834 commit 3d5a019
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions redirects-www.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -474,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;
Expand Down Expand Up @@ -547,6 +548,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;
Expand All @@ -557,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;
Expand Down

0 comments on commit 3d5a019

Please sign in to comment.