These redirects match the new collections URLs at Learn. It also fixes the splat redirect which will handle most paths that need to be sent to Learn.
44 lines
3.2 KiB
Plaintext
44 lines
3.2 KiB
Plaintext
# REDIRECTS FILE
|
|
#
|
|
# See the README file in this directory for documentation. Please do not
|
|
# modify or delete existing redirects without first verifying internally.
|
|
|
|
/support.html / 301!
|
|
/support / 301!
|
|
/sponsors.html / 301!
|
|
/sponsors / 301!
|
|
/about.html /intro 301!
|
|
/about /intro 301!
|
|
/v1/* https://docs-v1.vagrantup.com/:splat 301!
|
|
/blog/* https://www.hashicorp.com/blog/:splat 301!
|
|
/download-archive/* https://releases.hashicorp.com/vagrant 301!
|
|
|
|
/intro/index /intro 301!
|
|
/docs/index /docs 301!
|
|
/docs/boxes.html /docs/boxes 301!
|
|
/docs/boxes /docs/boxes 301!
|
|
/docs/experimental/index.html /docs/experimental 301!
|
|
/docs/multi-machine/index.html /docs/multi-machine 301!
|
|
/docs/virtualbox/index.html /docs/providers/virtualbox 301!
|
|
/docs/virtualbox/* /docs/providers/virtualbox/:splat 301!
|
|
/docs/vmware/index.html /docs/providers/vmware 301!
|
|
/docs/vmware/* /docs/providers/vmware/:splat 301!
|
|
/docs/docker/index.html /docs/providers/docker 301!
|
|
/docs/docker/* /docs/providers/docker/:splat 301!
|
|
/docs/hyperv/index.html /docs/providers/hyperv 301!
|
|
/docs/hyperv/* /docs/providers/hyperv/:splat 301!
|
|
/docs/vagrant-cloud /vagrant-cloud 301!
|
|
/docs/vagrant-cloud/* /vagrant-cloud/:splat 301!
|
|
|
|
# Redirect get started guides to Learn
|
|
|
|
/docs/getting-started https://learn.hashicorp.com/collections/vagrant/getting-started 301!
|
|
/intro/getting-started https://learn.hashicorp.com/collections/vagrant/getting-started 301!
|
|
/docs/getting-started/project_setup https://learn.hashicorp.com/tutorials/vagrant/getting-started-project-setup?in=vagrant/getting-started 301!
|
|
/intro/getting-started/project_setup https://learn.hashicorp.com/tutorials/vagrant/getting-started-project-setup?in=vagrant/getting-started 301!
|
|
/docs/getting-started/synced_folders https://learn.hashicorp.com/tutorials/vagrant/getting-started-synced-folders?in=vagrant/getting-started 301!
|
|
/intro/getting-started/synced_folders https://learn.hashicorp.com/tutorials/vagrant/getting-started-synced-folders?in=vagrant/getting-started 301!
|
|
/docs/getting-started/* https://learn.hashicorp.com/tutorials/vagrant/getting-started-:splat 301!
|
|
/intro/getting-started/* https://learn.hashicorp.com/tutorials/vagrant/getting-started-:splat 301!
|
|
|