Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add www redirects for form 1 and former_members paths #379

Merged
merged 5 commits into from
Oct 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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