From 2bcb6187ec531ba818cb1a2f1cb6f4aa8e8bd136 Mon Sep 17 00:00:00 2001 From: Dustin Schau Date: Thu, 4 Jan 2024 16:37:19 -0800 Subject: [PATCH] chore: add redirects --- netlify.toml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/netlify.toml b/netlify.toml index f197b97..a04c478 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,7 +1,11 @@ [[redirects]] - from = "/search-engine-optimization-with-gatsby" - to = "https://dustinschau.com/posts/2019-01-04-seo-and-gatsby/" + from = "/*" + to = "https://dustinschau.com/posts/:splat" status = 301 - force = false - query = {path = ":path"} - conditions = {Language = ["en"], Country = ["US"], Role = ["admin"]} + force = true + +[[redirects]] + from = "/" + to = "https://dustinschau.com/posts" + status = 301 + force = true \ No newline at end of file