diff --git a/netlify.toml b/netlify.toml index 4b936fb..133cd16 100644 --- a/netlify.toml +++ b/netlify.toml @@ -9,7 +9,13 @@ [[redirects]] from = "https://mat-services.netlify.app/*" - to = "https://mat.services/:splat" + to = "https://www.mat.services/:splat" + force = true + +[[redirects]] + # avoid http -> https -> www double redirect + from = "http://mat.services" + to = "https://www.mat.services/:splat" force = true [[headers]]