This repository has been archived by the owner on Feb 14, 2018. It is now read-only.
forked from fecgov/fec-proxy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathredirects-transition.conf
106 lines (104 loc) · 10.4 KB
/
redirects-transition.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#Redirect rules for specific pages
rewrite ^/pdf/candgui.pdf https://www.fec.gov/resources/cms-content/documents/candgui.pdf redirect;
rewrite ^/pdf/partygui.pdf https://www.fec.gov/resources/cms-content/documents/partygui.pdf redirect;
rewrite ^/pdf/nongui.pdf https://www.fec.gov/resources/cms-content/documents/nongui.pdf redirect;
rewrite ^/auditsearch/auditsearch.do http://classic.fec.gov/auditsearch/auditsearch.do redirect;
rewrite ^/calendar/calendar.shtml http://classic.fec.gov/calendar/calendar.shtml redirect;
rewrite ^/calendar/calendar.shtml http://classic.fec.gov/calendar/calendar.shtml redirect;
rewrite ^/data/DataCatalog.do http://classic.fec.gov/data/DataCatalog.do redirect;
rewrite ^/data/DataCatalog.do http://classic.fec.gov/data/DataCatalog.do redirect;
rewrite ^/disclosure/pacSummary.do http://classic.fec.gov/disclosure/pacSummary.do redirect;
rewrite ^/disclosure/partySummary.do http://classic.fec.gov/disclosure/partySummary.do redirect;
rewrite ^/disclosurehs/hsnational.do http://classic.fec.gov/disclosurehs/hsnational.do redirect;
rewrite ^/disclosureie/ienational.do http://classic.fec.gov/disclosureie/ienational.do redirect;
rewrite ^/disclosureie/ienational.do?candOffice=S http://classic.fec.gov/disclosureie/ienational.do?candOffice=S redirect;
rewrite ^/disclosurep/pnational.do http://classic.fec.gov/disclosurep/pnational.do redirect;
rewrite ^/support/GettingStartedManualUpdate-A_61517.pdf https://www.fec.gov/resources/cms-content/documents/GettingStarted_FECFileManual_candidates_61517.pdf redirect;
rewrite ^/support/GettingStartedManual_U.pdf https://www.fec.gov/resources/cms-content/documents/GettingStarted_FECFileManual_pac-party.pdf redirect;
rewrite ^/support/Getting_Started_Manual_ie_filers_61517.pdf https://www.fec.gov/resources/cms-content/documents/GettingStarted_FECFileManual_ie_filers_61517.pdf redirect;
rewrite ^/pindex.shtml http://classic.fec.gov/pindex.shtml redirect;
rewrite ^/portal/download.shtml http://classic.fec.gov/portal/download.shtml redirect;
rewrite ^/portal/graphic_presentation.shtml http://classic.fec.gov/portal/graphic_presentation.shtml redirect;
rewrite ^/portal/searchable.shtml http://classic.fec.gov/portal/searchable.shtml redirect;
rewrite ^/privacy.shtml https://github.com/fecgov/policy/blob/master/privacy_policy_README.md redirect;
rewrite ^/info/filing.shtml https://www.fec.gov/help-candidates-and-committees/ redirect;
rewrite ^/info/forms.shtml https://www.fec.gov/help-candidates-and-committees/forms/ redirect;
rewrite ^/about.shtml https://www.fec.gov/about/ redirect;
rewrite ^/working.shtml https://www.fec.gov/about/#working-with-the-fec redirect;
rewrite ^/pages/jobs/jobs.shtml https://www.fec.gov/about/careers/ redirect;
rewrite ^/directives/CommissionDirectives.shtml https://www.fec.gov/about/leadership-and-structure/#commission-directives-and-policy redirect;
rewrite ^/members/?$ https://www.fec.gov/about/leadership-and-structure/commissioners/ redirect;
rewrite ^/info/mission.shtml https://www.fec.gov/about/mission-and-history/ redirect;
rewrite ^/pages/anreport.shtml https://www.fec.gov/about/reports-about-fec/annual-and-anniversary-reports/ redirect;
rewrite ^/pages/procure/procure.shtml https://www.fec.gov/about/reports-about-fec/procurement-and-contracting/ redirect;
rewrite ^/pages/budget/budget.shtml https://www.fec.gov/about/reports-about-fec/strategy-budget-and-performance/ redirect;
rewrite ^/pages/budget/budget.shtml https://www.fec.gov/about/reports-about-fec/strategy-budget-and-performance/ redirect;
rewrite ^/info/report_dates.shtml https://www.fec.gov/help-candidates-and-committees/dates-and-deadlines/ redirect;
rewrite ^/pages/contact.shtml https://www.fec.gov/contact-us/ redirect;
rewrite ^/pages/brochures/ao.shtml https://www.fec.gov/legal-resources/advisory-opinions-process/ redirect;
rewrite ^/pages/brochures/bestpractices.shtml https://www.fec.gov/updates/best-practices-committee-management/ redirect;
rewrite ^/pages/brochures/indexp.shtml https://www.fec.gov/help-candidates-and-committees/making-disbursements/coordinated-communications/ redirect;
rewrite ^/pages/brochures/treas.shtml https://www.fec.gov/updates/committee-treasurers-2017-record/ redirect;
rewrite ^/pages/brochures/committee_treasurers_brochure.pdf https://www.fec.gov/updates/committee-treasurers-2017-record/ redirect;
rewrite ^/pages/brochures/delegate.shtml https://www.fec.gov/updates/national-party-convention-delegates-2/ redirect;
rewrite ^/ans/answers_compliance.shtml#embezzlement1 https://www.fec.gov/help-candidates-and-committees/keeping-records/misappropriated-funds/ redirect;
rewrite ^/pages/brochures/foreign.shtml https://www.fec.gov/updates/foreign-nationals/ redirect;
rewrite ^/pages/brochures/jointfundraising.shtml https://www.fec.gov/updates/joint-fundraising-2/ redirect;
rewrite ^/pages/brochures/locparty.shtml https://www.fec.gov/help-candidates-and-committees/registering-political-party/information-local-party-committees-not-registered-fec/ redirect;
rewrite ^/pages/brochures/electioneering.shtml https://www.fec.gov/help-candidates-and-committees/making-disbursements-ssf-or-connected-organization/making-electioneering-communications/ redirect;
rewrite ^/pages/brochures/ssfvnonconnected.shtml https://www.fec.gov/help-candidates-and-committees/registering-pac/understanding-nonconnected-pacs/ redirect;
rewrite ^/pages/brochures/TestingtheWaters.shtml https://www.fec.gov/updates/testing-the-waters-2017/ redirect;
rewrite ^/law/law.shtml https://www.fec.gov/legal-resources/ redirect;
rewrite ^/law/draftaos.shtml https://www.fec.gov/legal-resources/advisory-opinions-process/#draft-answers-to-advisory-opinion-requests redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-02.pdf https://www.fec.gov/documents/158/fedreg_notice2017-02.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-03.pdf https://www.fec.gov/documents/159/fedreg_notice2017-03.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-04.pdf https://www.fec.gov/documents/160/fedreg_notice2017-04.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-05.pdf https://www.fec.gov/documents/157/fedreg_notice2017-05.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-06.pdf https://www.fec.gov/documents/156/fedreg_notice2017-06.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-07.pdf https://www.fec.gov/documents/155/fedreg_notice2017-07.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-08.pdf https://www.fec.gov/documents/154/fedreg_notice2017-08.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-10.pdf https://www.fec.gov/documents/153/fedreg_notice2017-10.pdf redirect;
rewrite ^/law/cfr/ej_compilation/2017/notice2017-11.pdf https://www.fec.gov/documents/152/fedreg_notice2017-11.pdf redirect;
rewrite ^/em/em.shtml https://www.fec.gov/legal-resources/enforcement/ redirect;
rewrite ^/em/mur.shtml https://www.fec.gov/legal-resources/enforcement/ redirect;
rewrite ^/pages/brochures/admin_fines.shtml https://www.fec.gov/legal-resources/enforcement/administrative-fines/ redirect;
rewrite ^/em/adr.shtml https://www.fec.gov/legal-resources/enforcement/alternative-dispute-resolution/ redirect;
rewrite ^/law/feca/feca.shtml https://www.fec.gov/legal-resources/legislation/ redirect;
rewrite ^/press/index.shtml https://www.fec.gov/press/ redirect;
rewrite ^/press/press_contacts.shtml https://www.fec.gov/press/#contact redirect;
rewrite ^/press/resources_for_reporters.shtml https://www.fec.gov/press/resources-journalists/ redirect;
rewrite ^/law/cfr/cfr.shtml https://www.fec.gov/regulations redirect;
rewrite ^/agenda/meetings.shtml https://www.fec.gov/updates/?update_type=meetings redirect;
rewrite ^/agenda/agendas.shtml https://www.fec.gov/updates/?update_type=meetings redirect;
rewrite ^/press/news_releases.shtml https://www.fec.gov/updates/?update_type=press-release redirect;
rewrite ^/info/TipsforTreasurers.shtml https://www.fec.gov/updates/?update_type=tips-for-treasurers redirect;
rewrite ^/updates/?update_type=tips-for-treasurers https://www.fec.gov/updates/?update_type=tips-for-treasurers redirect;
rewrite ^/press/weekly_digests.shtml https://www.fec.gov/updates/?update_type=weekly-digest redirect;
rewrite ^/info/compliance.shtml /index.html redirect;
rewrite ^/press/foia.shtml https://www.fec.gov/freedom-information-act/ redirect;
rewrite ^/rad/index.shtml /rad/index.html redirect;
rewrite ^/rad/candidates/documents/FECFileGettingStartedManual.pdf https://www.fec.gov/resources/cms-content/documents/GettingStarted_FECFileManual_candidates_61517.pdf redirect;
rewrite ^/pages/bcra/bcra_update.shtml https://www.fec.gov/legal-resources/legislation/ redirect;
rewrite ^/pages/bcra/major_resources_bcra.shtml https://www.fec.gov/legal-resources/ redirect;
rewrite ^/pages/bcra/litigation.shtml https://www.fec.gov/legal-resources/court-cases/ redirect;
rewrite ^/pages/bcra/aos_bcra.shtml https://www.fec.gov/data/legal/search/advisory-opinions/?type=advisory_opinions&search=BCRA&q=BCRA&ao_category=F redirect;
rewrite ^/pages/bcra/rulemakings/rulemakings_bcra.shtml https://www.fec.gov/legal-resources/regulations/ redirect;
#This section is for broader redirects
rewrite ^/pdf/nprm/(.*) https://www.fec.gov/resources/legal-resources/rulemakings/nprm/$1 redirect;
rewrite ^/agenda/([0-9]+)/documents/(.*) https://www.fec.gov/resources/updates/agendas/$1/$2 redirect;
rewrite ^/agenda/([0-9]+)/(.*).pdf https://www.fec.gov/resources/updates/agendas/$1/$2.pdf redirect;
rewrite ^/audio/([0-9]+)/(.*) https://www.fec.gov/resources/audio/$1/$2 redirect;
rewrite ^/finance/(.*) http://classic.fec.gov/finance/$1 redirect;
rewrite ^/fecletter/(.*) http://classic.fec.gov/fecletter/$1 redirect;
rewrite ^/pindex.shtml http://classic.fec.gov/pindex.shtml redirect;
rewrite ^/portal/(.*) http://classic.fec.gov/portal/$1 redirect;
rewrite ^/disclosurep/(.*) http://classic.fec.gov/disclosurep/$1 redirect;
rewrite ^/disclosurehs/(.*) http://classic.fec.gov/disclosurehs/$1 redirect;
rewrite ^/disclosure/(.*) http://classic.fec.gov/disclosure/$1 redirect;
rewrite ^/disclosureie/(.*) http://classic.fec.gov/disclosureie/$1 redirect;
rewrite ^/data/(.*) http://classic.fec.gov/data/$1 redirect;
rewrite ^/auditsearch/(.*) http://classic.fec.gov/auditsearch/$1 redirect;
rewrite ^/sunshine/([0-9]+)/(.*).pdf https://www.fec.gov/resources/updates/sunshine-notices/$1/$2.pdf redirect;
rewrite ^/finance/(.*) http://classic.fec.gov/finance/$1 redirect;
rewrite ^/MUR/.* http://classic.fec.gov/MUR/ redirect;
rewrite ^/disclosure_data/(.*) http://classic.fec.gov/disclosure_data/$1 redirect;