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

Add redirects to keep old URIs working #597

Merged
merged 1 commit into from Dec 11, 2018

Conversation

Projects
None yet
9 participants
@mbrubeck
Copy link
Contributor

mbrubeck commented Dec 7, 2018

This will allow existing links to the Rust code of conduct and other pages to keep working, instead of returning 404 errors. Fixes #593 .

Show resolved Hide resolved src/main.rs Outdated

@mbrubeck mbrubeck force-pushed the mbrubeck:redirect branch 2 times, most recently from abcd658 to 653d8fa Dec 7, 2018

@mbrubeck mbrubeck force-pushed the mbrubeck:redirect branch 2 times, most recently from 7968b28 to 6dbec50 Dec 7, 2018

@Soria0906

This comment was marked as off-topic.

Copy link

Soria0906 commented Dec 7, 2018

Ok

@ashleygwilliams ashleygwilliams self-requested a review Dec 7, 2018

ehuss added a commit to ehuss/cargo that referenced this pull request Dec 9, 2018

Fix install link.
The new website broke the old links. They are setting up redirects (rust-lang/www.rust-lang.org#597), but I figured may as well use the new location to avoid the redirect.

@ehuss ehuss referenced this pull request Dec 9, 2018

Merged

Fix install link. #6404

@Carreau

This comment has been minimized.

Copy link

Carreau commented Dec 9, 2018

Do you want to log the referrer if possible when redirect, so that some could get fixed (like stackoverflow)?

bors added a commit to rust-lang/cargo that referenced this pull request Dec 9, 2018

Auto merge of #6404 - ehuss:fix-install-link, r=alexcrichton
Fix install link.

The new website broke the old links. They are setting up redirects (rust-lang/www.rust-lang.org#597), but I figured may as well use the new location to avoid the redirect.
Show resolved Hide resolved src/redirect.rs Outdated

@mbrubeck mbrubeck force-pushed the mbrubeck:redirect branch from 6dbec50 to bd73c00 Dec 10, 2018

@mbrubeck mbrubeck referenced this pull request Dec 10, 2018

Closed

install page shows 404 #625

"https://forge.rust-lang.org/other-installation-methods.html"
}
"security.html" => "/policies/security",
"team.html" => "/governance",

This comment has been minimized.

@Dmitry-Borodin

Dmitry-Borodin Dec 10, 2018

currently both
https://www.rust-lang.org/en-US/team.html (current version in appendix-07)
https://www.rust-lang.org/en-US/governance
does not work
What should be used in the book?

This comment has been minimized.

@nrc
@nrc

This comment has been minimized.

Copy link
Member

nrc commented Dec 10, 2018

Travis failure is known Rustfmt/Rustup issue

@nrc

nrc approved these changes Dec 11, 2018

Copy link
Member

nrc left a comment

LGTM

@ashleygwilliams
Copy link
Member

ashleygwilliams left a comment

thank you so much!

@ashleygwilliams ashleygwilliams merged commit 00be98d into rust-lang:master Dec 11, 2018

1 check failed

continuous-integration/travis-ci/pr The Travis CI build failed
Details
@RalfJung

This comment has been minimized.

Copy link
Member

RalfJung commented Dec 12, 2018

Did this get deployed yet? The links at #593 (comment) are still broken.

@ashleygwilliams

This comment has been minimized.

Copy link
Member

ashleygwilliams commented Dec 12, 2018

it is not deployed yet- i am backed up on reviews and need to get the rocket fix one in. it should be today. sorry about that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment