Browse Source

Redirect en.reactjs.org to reactjs.org (#3446)

Currently this resolves to the same Netlify site, but is an alias and just serves the same content. There's no good reason to support both domains, so redirect.

This pattern should not be copied into any translation sites.
main
Paul O’Shannessy 4 years ago
committed by GitHub
parent
commit
0ebb5b16b8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      static/_redirects

4
static/_redirects

@ -1,3 +1,7 @@
# Ensure English site redirects to Apex. While not used directly by us, may be linked elsewhere.
http://en.reactjs.org/* https://reactjs.org/:splat 301!
https://en.reactjs.org/* https://reactjs.org/:splat 301!
/tips/controlled-input-null-value.html /docs/forms.html#controlled-input-null-value
/concurrent /docs/concurrent-mode-intro.html
/hooks /docs/hooks-intro.html

Loading…
Cancel
Save