diff --git a/netlify.toml b/netlify.toml index 2691f40..73c4280 100644 --- a/netlify.toml +++ b/netlify.toml @@ -48,16 +48,16 @@ # Getting a ton of hits to things like this, redirecting. [[redirects]] - from = "/https://traeblain.com" + from = "/https*" to = "/" status = 301 force = true -[[redirects]] - from = "/https://traeblain.com/*" - to = "/:splat" - status = 301 - force = true +# [[redirects]] +# from = "/https%3A%2F%2Ftraeblain.com%2F*" +# to = "/:splat" +# status = 301 +# force = true # [[redirects]] # from ='/api/*' diff --git a/static/_redirects b/static/_redirects new file mode 100644 index 0000000..1cb1b8f --- /dev/null +++ b/static/_redirects @@ -0,0 +1,2 @@ +# netlify.toml redirects weren't working, so trying this. +# /https* / 303!