diff --git a/docs/public/_redirects b/docs/public/_redirects new file mode 100644 index 000000000..925ea3c8f --- /dev/null +++ b/docs/public/_redirects @@ -0,0 +1,25 @@ +# The v6 docs used to live on this domain. The v6 extension, its console hints and other projects +# still link to these pages, which now live on devtools-v6.vuejs.org. +/guide/installation.html https://devtools-v6.vuejs.org/guide/installation.html 301 +/guide/open-in-editor.html https://devtools-v6.vuejs.org/guide/open-in-editor.html 301 +/guide/faq.html https://devtools-v6.vuejs.org/guide/faq.html 301 +/guide/contributing.html https://devtools-v6.vuejs.org/guide/contributing.html 301 +/guide/devtools-perf.html https://devtools-v6.vuejs.org/guide/devtools-perf.html 301 +/guide/custom-vue2-app-scan-selector.html https://devtools-v6.vuejs.org/guide/custom-vue2-app-scan-selector.html 301 +/plugin/* https://devtools-v6.vuejs.org/plugin/:splat 301 + +# Extensionless v6 links on the original docs domain. +https://devtools.vuejs.org/guide/installation https://devtools-v6.vuejs.org/guide/installation 301 +https://devtools.vuejs.org/guide/open-in-editor https://devtools-v6.vuejs.org/guide/open-in-editor 301 +https://devtools.vuejs.org/guide/faq https://devtools-v6.vuejs.org/guide/faq 301 +https://devtools.vuejs.org/guide/contributing https://devtools-v6.vuejs.org/guide/contributing 301 +https://devtools.vuejs.org/guide/devtools-perf https://devtools-v6.vuejs.org/guide/devtools-perf 301 +https://devtools.vuejs.org/guide/custom-vue2-app-scan-selector https://devtools-v6.vuejs.org/guide/custom-vue2-app-scan-selector 301 + +# Pages of the early v7 docs that moved. +/guide/installation /getting-started/installation 301 +/guide/getting-started /getting-started/installation 301 +/guide/features /getting-started/features 301 +/guide/open-in-editor /getting-started/open-in-editor 301 +/guide/contributing /help/contributing 301 +/guide/faq /help/faq 301