chore(redirects): Migrate redirects and clean up server views
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
#api redirect
|
||||
|
||||
/internal/* https://api.freecodecamp.org/internal/:splat
|
||||
|
||||
# auth redirects
|
||||
/signup /signin 301
|
||||
/email-signin /signin 301
|
||||
/login /signin 301
|
||||
/deprecated-signin /signin 301
|
||||
/logout /signout 301
|
||||
/passwordless-change /confirm-email 301
|
||||
/signup /signin 301
|
||||
/email-signin /signin 301
|
||||
/login /signin 301
|
||||
/deprecated-signin /signin 301
|
||||
/logout /signout 301
|
||||
/passwordless-change /confirm-email 301
|
||||
|
||||
# certification redirects
|
||||
/:username/front-end-certification /certification/:username/legacy-front-end 301
|
||||
@@ -13,6 +17,22 @@
|
||||
/:username/full-stack-certification /certification/:username/full-stack 301
|
||||
|
||||
# unsunscribe redirects
|
||||
/u/* https://api.freecodecamp.org/u/:splat
|
||||
/unsunscribe/* https://api.freecodecamp.org/unsunscribe/:splat
|
||||
/ue/* https://api.freecodecamp.org/ue/:splat
|
||||
/u/* https://api.freecodecamp.org/u/:splat
|
||||
/unsunscribe/* https://api.freecodecamp.org/unsunscribe/:splat
|
||||
/ue/* https://api.freecodecamp.org/ue/:splat
|
||||
|
||||
# misc redirects
|
||||
/agile / 200
|
||||
/chat https://gitter.im/FreeCodeCamp/FreeCodeCamp 301
|
||||
/twitch https://twitch.tv/freecodecamp 301
|
||||
/nonprofits-form / 200
|
||||
/pmi-acp-agile-project-managers / 200
|
||||
/pmi-acp-agile-project-managers-form / 200
|
||||
/stories / 200
|
||||
/all-stories / 200
|
||||
/field-guide/* https://forum.freecodecamp.org 301
|
||||
/learn-to-code /learn 200
|
||||
/map /learn 200
|
||||
/privacy https://forum.freecodecamp.org/t/free-code-camp-privacy-policy/19545 301
|
||||
/nonprofit-project-instructions http://forum.freecodecamp.org/t/how-free-code-camps-nonprofits-projects-work/19547 301
|
||||
/how-nonprofit-projects-work https://medium.freecodecamp.org/open-source-for-good-1a0ea9f32d5a 301
|
Reference in New Issue
Block a user