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

Adds redirect for the 2002 meeting minutes #147

Merged
merged 3 commits into from
Oct 11, 2019

Conversation

dorothyyeager
Copy link
Contributor

The 2002 meeting minutes were in a subdirectory with a different name path than other years, so are 404'ing.

Old path: /agenda/agendas2002/*.pdf

I've put in a broader redirect for that subdirectory.

If this works, it resolves #3266

@@ -242,6 +242,7 @@ rewrite ^/info/tips/(.*) https://www.fec.gov/updates/?update_type=tips-for-treas
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 ^/agenda/agendas2002/(.*).pdf https://www.fec.gov/resources/updates/agendas/$1 redirect;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dorothyyeager Can you please make the same changes in this file as was commented here? #148 (review)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @patphongs - I've made the changes to this file. Appreciate your help with this!

Corrects redirect for agenda/agendas2002/ and adds redirects for agenda/agendas2000, agenda/agendas2001, and /agendas2003
Comment on lines 245 to 248
rewrite ^/agenda/agendas2003/(.*).pdf https://www.fec.gov/resources/updates/agendas/2003/$1 redirect;
rewrite ^/agenda/agendas2002/(.*).pdf https://www.fec.gov/resources/updates/agendas/2002/$1 redirect;
rewrite ^/agenda/agendas2001/(.*).pdf https://www.fec.gov/resources/updates/agendas/2001/$1 redirect;
rewrite ^/agenda/agendas2000/(.*).pdf https://www.fec.gov/resources/updates/agendas/2000/$1 redirect;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same changes need to be made as specified here: #148 (review)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thank you again!

Added .pdf to agendas/agendasXXXX/ redirects. Thank you @patphongs
Copy link
Member

@patphongs patphongs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thanks @dorothyyeager

@patphongs patphongs merged commit 418e79e into master Oct 11, 2019
@lbeaufort lbeaufort deleted the cms3266-redirects-2002-meeting-minutes branch March 8, 2021 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants