-
Notifications
You must be signed in to change notification settings - Fork 479
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
Remove learn/legacy and add redirect to /learn #20643
Conversation
bd6f474
to
d247763
Compare
@@ -0,0 +1 @@ | |||
/learn |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be a .moved
file since it's a permanent move?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought .moved was for pages where we take the same page and move it to another place, where as in this case we are just deprecating the page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From will:
pretty sure the .moved
/.redirect
stuff is a legacy/undocumented feature of pegasus (https://github.com/code-dot-org/pegasus/commit/088d1f543c0289c5e1d080cb9ee1b18e02f5eee0), so i don't have any extra rule of thumb to give there. Apparently .moved
and .redirect
do the same thing, and .redirect
was added as an alias for .moved
per hadi? (https://github.com/code-dot-org/pegasus/commit/4e4599abbf2b626bfd31743406f3dbf34030f20c)
.found
does a 302
temporary redirect, .moved
and .redirect
to 301 permanent redirects.
|
||
= view 'mobilecheck.js' | ||
|
||
= view :learn_teacher_banner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this is the only file exclusively used by this file, so good job catching that it's okay for deletion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💀
On average about 15 people a day are viewing this page so Tanya and I agree it can be removed.