From 516f5b5e3f79ed27c679fc7341bb858b1ad0c50b Mon Sep 17 00:00:00 2001 From: DanHillesheim <79476558+DanHillesheim@users.noreply.github.com> Date: Thu, 9 Sep 2021 10:41:52 -0600 Subject: [PATCH] article redirect --- _config.yml | 1 + _redirects | 2 +- netlify.toml | 4 +++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index cc01f3e2..8c49370a 100644 --- a/_config.yml +++ b/_config.yml @@ -20,6 +20,7 @@ exclude: include: - '.nojekyll' + - '_redirects' collections: categories: diff --git a/_redirects b/_redirects index 031a1c1c..46e4827d 100644 --- a/_redirects +++ b/_redirects @@ -1 +1 @@ -/help/article/* /help/:splat 301! +/help/article/* https://bitwarden-help.netlify.app/:splat 200! diff --git a/netlify.toml b/netlify.toml index 2dc6a61e..f76c605e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -19,4 +19,6 @@ [[redirects]] from = "/help/article/*" - to = "/help/:splat" \ No newline at end of file + to = "https://bitwarden-help.netlify.app/:splat" + status = 200 + force = true \ No newline at end of file