160 lines
8.2 KiB
Plaintext
160 lines
8.2 KiB
Plaintext
## Static redirects (2000 limit, first match wins) ##
|
|
|
|
# Redirect /packages to packages.matrix.org
|
|
/packages https://packages.matrix.org
|
|
|
|
# Redirect /federationtester to federationtester.matrix.org
|
|
/federationtester https://federationtester.matrix.org
|
|
|
|
# Following are app specific rewrites that depend on the deployed version
|
|
/blog/posts /blog
|
|
/blog/index /
|
|
/blog/home /
|
|
/blog/home.html /
|
|
/blog/try-matrix-now /try-matrix
|
|
/blog/feed /atom.xml
|
|
/blog/feed/ /atom.xml
|
|
/blog/category/security/feed /category/security/atom.xml
|
|
/blog/category/security/feed/ /category/security/atom.xml
|
|
|
|
# Rewrite old landing page for the spec to the new spec docs
|
|
/docs/spec https://spec.matrix.org
|
|
|
|
|
|
# We used to keep the unstable spec under /docs/spec/unstable. Redirect the pages to their new home.
|
|
/docs/spec/unstable/appendices.html https://spec.matrix.org/unstable/appendices
|
|
/docs/spec/unstable/application_service.html https://spec.matrix.org/unstable/application-service-api
|
|
/docs/spec/unstable/client_server.html https://spec.matrix.org/unstable/client_server
|
|
/docs/spec/unstable/howtos.html /docs/guides/client-server-api
|
|
/docs/spec/unstable/identity_service.html https://spec.matrix.org/unstable/identity-service-api
|
|
/docs/spec/unstable/index.html https://spec.matrix.org/unstable
|
|
/docs/spec/unstable/push_gateway.html https://spec.matrix.org/unstable/push-gateway-api
|
|
/docs/spec/unstable/server_server.html https://spec.matrix.org/unstable/server-server-api
|
|
|
|
# there also exist some broken links to the r0.2.0 spec.
|
|
/docs/spec/r0.2.0/client_server.html https://spec.matrix.org/historical/client_server/r0.2.0.html
|
|
|
|
# Rewrite old unstable spec doc requests to the equivalent page in the new spec docs
|
|
/docs/spec/client_server/unstable https://spec.matrix.org/unstable/client-server-api
|
|
/docs/spec/server_server/unstable https://spec.matrix.org/unstable/server-server-api
|
|
/docs/spec/application_service/unstable https://spec.matrix.org/unstable/application-service-api
|
|
/docs/spec/identity_service/unstable https://spec.matrix.org/unstable/identity-service-api
|
|
/docs/spec/push_gateway/unstable https://spec.matrix.org/unstable/push-gateway-api
|
|
# and the .html suffix
|
|
/docs/spec/client_server/unstable.html https://spec.matrix.org/unstable/client-server-api
|
|
/docs/spec/server_server/unstable.html https://spec.matrix.org/unstable/server-server-api
|
|
/docs/spec/application_service/unstable.html https://spec.matrix.org/unstable/application-service-api
|
|
/docs/spec/identity_service/unstable.html https://spec.matrix.org/unstable/identity-service-api
|
|
/docs/spec/push_gateway/unstable.html https://spec.matrix.org/unstable/push-gateway-api
|
|
|
|
# Rewrite proposals path to new spec site
|
|
/docs/spec/proposals https://spec.matrix.org/proposals
|
|
|
|
# Rewrite old "latest" spec doc requests to the equivalent page in the new spec docs
|
|
/docs/spec/client_server/latest https://spec.matrix.org/latest/client-server-api
|
|
/docs/spec/server_server/latest https://spec.matrix.org/latest/server-server-api
|
|
/docs/spec/application_service/latest https://spec.matrix.org/latest/application-service-api
|
|
/docs/spec/identity_service/latest https://spec.matrix.org/latest/identity-service-api
|
|
/docs/spec/push_gateway/latest https://spec.matrix.org/latest/push-gateway-api
|
|
# and the .html suffix
|
|
/docs/spec/client_server/latest.html https://spec.matrix.org/latest/client-server-api
|
|
/docs/spec/server_server/latest.html https://spec.matrix.org/latest/server-server-api
|
|
/docs/spec/application_service/latest.html https://spec.matrix.org/latest/application-service-api
|
|
/docs/spec/identity_service/latest.html https://spec.matrix.org/latest/identity-service-api
|
|
/docs/spec/push_gateway/latest.html https://spec.matrix.org/latest/push-gateway-api
|
|
|
|
# https://github.com/matrix-org/matrix-spec/issues/2 / https://github.com/matrix-org/matrix-ansible-private/issues/5798
|
|
/docs/api/client-server/ https://playground.matrix.org/
|
|
|
|
# fixing up typos and 404s (please do not add to these, though; fix instead to generate the right URLs...)
|
|
/blog/2019/05/03/security-updates-sydent-1-0-3-synapse-0-99-3-1-and-riot-android-0-9-0-0-8-99-0-8-2-b /blog/2019/05/03/security-updates-sydent-1-0-3-synapse-0-99-3-1-and-riot-android-0-9-0-0-8-99-0-8-28-a
|
|
/blog/2019/04/11/security-incident /blog/2019/04/11/we-have-discovered-and-addressed-a-security-breach-updated-2019-04-12
|
|
/blog/2019/03/12/breaking-the-100bps-barrier-with-matrix-meshsim-coap-proxy /blog/2019/03/12/breaking-the-100-bps-barrier-with-matrix-meshsim-coap-proxy
|
|
/blog/2018/02/05/3d-video-calling-with-matrix-webrtc-and-webvr-at-fosdem-2018 /blog/2018/02/05/3-d-video-calling-with-matrix-webrtc-and-webvr-at-fosdem-2018
|
|
/blog/2020/02/01/on-privacy-versus-freedom /blog/2020/01/02/on-privacy-versus-freedom
|
|
/blog/2017/09/28/experiments-with-matrix-on-the-purism-librem5-starring-ubports-and-nheko/ /blog/2017/09/28/experiments-with-matrix-on-the-purism-librem-5-starring-ubports-and-nheko
|
|
|
|
# Static redirects for the zola rewrite
|
|
/docs/guides/faq /faq
|
|
/docs/guides/faq.html /faq
|
|
/docs/guides/ /docs/older
|
|
/clients /ecosystem/clients/
|
|
/clients/ /ecosystem/clients/
|
|
/bots /ecosystem/integrations/
|
|
/bots/ /ecosystem/integrations/
|
|
/sdks /ecosystem/sdks/
|
|
/sdks/ /ecosystem/sdks/
|
|
/bridges /ecosystem/bridges/
|
|
/bridges/ /ecosystem/bridges/
|
|
/hosting /ecosystem/hosting
|
|
/hosting/ /ecosystem/hosting
|
|
/otwsu /podcasts/otwsu
|
|
/otwsu/ /podcasts/otwsu
|
|
/twim /category/this-week-in-matrix/
|
|
/twim/ /category/this-week-in-matrix/
|
|
/docs/develop /docs/matrix-concepts/elements-of-matrix/
|
|
/docs/develop/ /docs/matrix-concepts/elements-of-matrix/
|
|
|
|
# GIT
|
|
/code https://github.com/matrix-org
|
|
/code/ https://github.com/matrix-org
|
|
|
|
# olm spec
|
|
/docs/olm_signing.html https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/signing.md
|
|
/docs/spec/olm.html https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/olm.md
|
|
/docs/spec/megolm.html https://gitlab.matrix.org/matrix-org/olm/blob/master/docs/megolm.md
|
|
|
|
# Unbreaking Synapse links, see https://github.com/matrix-org/synapse/issues/15825
|
|
/docs/projects/try-matrix-now.html /ecosystem/clients
|
|
|
|
#####################################################
|
|
## Dynamic redirects (100 limit, first match wins) ##
|
|
## Keep these below the static redirects ##
|
|
#####################################################
|
|
|
|
# Dynamic redirect /packages/X to packages.matrix.org/X
|
|
/packages/* https://packages.matrix.org/:splat
|
|
|
|
# Dynamic redirect /federationtester/X to federationtester.matrix.org/X
|
|
/federationtester/* https://federationtester.matrix.org/:splat
|
|
|
|
# Dynamic app specific rewrites that depend on the deployed version
|
|
/blog/try-matrix-now/* /try-matrix/
|
|
|
|
# Blog feeds
|
|
/blog/feed/* /atom.xml
|
|
/blog/category/security/feed/* /category/security/atom.xml
|
|
/blog/category/:category_id /category/:category_id
|
|
/blog/category/:category_id/ /category/:category_id
|
|
/blog/category/:category_id/atom.xml /category/:category_id/atom.xml
|
|
|
|
# Dynamic old "unstable" spec doc requests to the new spec docs
|
|
/docs/spec/client_server/unstable/* https://spec.matrix.org/unstable/client-server-api
|
|
/docs/spec/server_server/unstable/* https://spec.matrix.org/unstable/server-server-api
|
|
/docs/spec/application_service/unstable/* https://spec.matrix.org/unstable/application-service-api
|
|
/docs/spec/identity_service/unstable/* https://spec.matrix.org/unstable/identity-service-api
|
|
/docs/spec/push_gateway/unstable/* https://spec.matrix.org/unstable/push-gateway-api
|
|
|
|
# Dynamic old "latest" spec doc requests to the new spec docs
|
|
/docs/spec/client_server/latest/* https://spec.matrix.org/latest/client-server-api
|
|
/docs/spec/server_server/latest/* https://spec.matrix.org/latest/server-server-api
|
|
/docs/spec/application_service/latest/* https://spec.matrix.org/latest/application-service-api
|
|
/docs/spec/identity_service/latest/* https://spec.matrix.org/latest/identity-service-api
|
|
/docs/spec/push_gateway/latest/* https://spec.matrix.org/latest/push-gateway-api
|
|
|
|
# Dynamic old "latest" spec doc requests to the equivalent page in the new spec docs
|
|
/docs/spec/rooms/* https://spec.matrix.org/latest/rooms/:splat
|
|
|
|
# Dynamic old landing page for the spec to the new spec docs
|
|
/docs/spec/* https://spec.matrix.org/legacy/:splat
|
|
|
|
# Dynamic GIT
|
|
/git/* https://git.matrix.org/:splat
|
|
|
|
# Dynamic redirects for the zola rewrite
|
|
/clients/* /ecosystem/clients/:splat
|
|
/blog/faq/* /faq
|
|
/docs/howtos/* /docs/older/:splat
|
|
/docs/legacy/* /docs/older/:splat
|
|
/docs/projects/clients/:client_placeholder /ecosystem/clients/:client_placeholder
|