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
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
4 changes: 2 additions & 2 deletions redirects-www.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ 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.

rewrite ^/support /help-candidates-and-committees/filing-reports/electronic-filing/ redirect;
rewrite ^/elecfil/updatelist.shtml https://transition.fec.gov/elecfil/updatelist.html redirect;
rewrite ^/elecfil/updatelist.html https://transition.fec.gov/elecfil/updatelist.html redirect;
rewrite ^/info/forms.shtml https://transition.fec.gov/info/forms.shtml redirect;
Expand Down