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

updated redirect for /efiling and added redirect for /support #50

Merged
merged 2 commits into from
Jul 11, 2017

Conversation

patphongs
Copy link
Member

resolves https://github.com/18F/fec-proxy/issues/49. Also added redirect for /support for efiling as discussed in content slack channel.

@patphongs patphongs requested a review from LindsayYoung July 10, 2017 19:13
@@ -45,8 +45,10 @@ rewrite ^/info/filing.shtml /help-candidates-and-committees/ redirect;
rewrite ^/info/report_dates_2017.shtml https://transition.fec.gov/info/report_dates_2017.shtml redirect;
rewrite ^/pdf/eleccoll.pdf https://transition.fec.gov/pdf/eleccoll.pdf redirect;
rewrite ^/elecfil/electron.shtml https://transition.fec.gov/elecfil/electron.shtml redirect;
rewrite ^/efiling /help-candidates-and-committees/electronic-filing/ redirect;
rewrite ^/efiling/ /help-candidates-and-committees/electronic-filing/ redirect;
rewrite ^/efiling /help-candidates-and-committees/filing-reports/electronic-filing/ redirect;
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe I am wrong but I thought the ^ means batch things that begin with that string. in that case you don't heed the next line or the second support line.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for catching that @LindsayYoung. You are correctly, there is no need for the redirects with trailing slashes. I'll remove them.

Copy link
Contributor

@LindsayYoung LindsayYoung left a comment

Choose a reason for hiding this comment

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

:)

@LindsayYoung LindsayYoung merged commit 5cd1e57 into master Jul 11, 2017
@lbeaufort lbeaufort deleted the hotfix/update-efiling-redirects branch October 7, 2019 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants