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

Updates transition redirects for various projects (admin fines, election results, enforcement page) #172

Merged
merged 2 commits into from
Jun 15, 2020
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
32 changes: 32 additions & 0 deletions redirects-transition.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
#Redirect rules for specific pages

rewrite ^/af/afcalc_20130725.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/calculating-administrative-fines/#calculating-a-fine redirect;
rewrite ^/af/afcalc_20160701.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/calculating-administrative-fines/#calculating-a-fine redirect;
rewrite ^/af/afcalc_post-200907.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/calculating-administrative-fines/#calculating-a-fine redirect;
rewrite ^/af/af.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/ redirect;
rewrite ^/af/AFPRegulations.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/#legal-citations redirect;
rewrite ^/af/pay.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/#paying-a-fine redirect;
rewrite ^/af/payment/index.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/#paying-a-fine redirect;
rewrite ^/af/documents/2016AFPRegulations.pdf https://sers.fec.gov/fosers/showpdf.htm?docid=351065 redirect;
rewrite ^/law/procedural_materials.shtml https://www.fec.gov/legal-resources/enforcement/procedural-materials/ redirect;
rewrite ^/pubrec/electionresults.shtml https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/general/FederalElections2016.shtml https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/elections.html https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pdf/CoverLetter_20130725.pdf https://www.fec.gov/resources/cms-content/documents/letter_to_Committee_on_House_Administration_July_25_2013.pdf redirect;
rewrite ^/pdf/Additional_Enforcement_Materials.pdf https://www.fec.gov/resources/cms-content/documents/additional_enforcement_materials.pdf redirect;
rewrite ^/pdf/1997_Enforcement_Manual.pdf https://www.fec.gov/resources/cms-content/documents/1997_enforcement_manual.pdf redirect;
Expand Down Expand Up @@ -267,7 +279,27 @@ rewrite ^/pages/bcra/aos_bcra.shtml https://www.fec.gov/data/legal/search/adviso
rewrite ^/pages/bcra/rulemakings/rulemakings_bcra.shtml https://www.fec.gov/legal-resources/regulations/ redirect;
rewrite ^/fecig/fecig.shtml https://www.fec.gov/office-inspector-general/ redirect;
rewrite ^/audits/understand_pres_audits.shtml https://www.fec.gov/legal-resources/enforcement/audit-reports/understanding-presidential-primary-audit-report/ redirect;

#This section is for broader redirects
rewrite ^/pubrec/fe2020/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2018/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2016/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2014/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2012/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2010/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2008/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2006/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2004/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2002/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe2000/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1998/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1994/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1992/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1990/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1988/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1986/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1984/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/fe1982/(.*) https://www.fec.gov/introduction-campaign-finance/election-and-voting-information/ redirect;
rewrite ^/pubrec/cfsdd/(.*) https://www.fec.gov/introduction-campaign-finance/how-to-research-public-records/combined-federalstate-disclosure-and-election-directory/ redirect;
rewrite ^/info/articles/(.*) https://www.fec.gov/updates/ redirect;
rewrite ^/info/presentations/(.*) https://www.fec.gov/help-candidates-and-committees/trainings/ redirect;
Expand Down