From 4ae26a13b11a8217782abcc6aca9820e8967f380 Mon Sep 17 00:00:00 2001 From: Geoffrey Grosenbach <26+topfunky@users.noreply.github.com> Date: Thu, 13 May 2021 09:15:02 -0700 Subject: [PATCH] Fix links to Learn (#11014) Some links to introductory tutorials were incorrect after some URLs changed. This fixes the links and the redirects. --- website/data/intro-nav-data.json | 4 ---- website/redirects.next.js | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/website/data/intro-nav-data.json b/website/data/intro-nav-data.json index c9bed76a7..4dfc462b5 100644 --- a/website/data/intro-nav-data.json +++ b/website/data/intro-nav-data.json @@ -29,10 +29,6 @@ { "title": "Vagrant Boxes", "href": "/intro/getting-started/vagrant" - }, - { - "title": "Next Steps", - "href": "/intro/getting-started/next" } ] } diff --git a/website/redirects.next.js b/website/redirects.next.js index 5bde61274..6b638faa7 100644 --- a/website/redirects.next.js +++ b/website/redirects.next.js @@ -133,12 +133,14 @@ module.exports = [ }, { source: '/intro/getting-started/vagrant', - destination: 'https://learn.hashicorp.com/packer/getting-started/vagrant', + destination: + 'https://learn.hashicorp.com/tutorials/packer/aws-get-started-post-processors-vagrant?in=packer/aws-get-started', permanent: true, }, { source: '/intro/getting-started/next', - destination: 'https://learn.hashicorp.com/packer/getting-started/next ', + destination: + 'https://learn.hashicorp.com/collections/packer/docker-get-started', permanent: true, }, {