From 1709b2a2aad0d715a17b416b2b9e11722b580816 Mon Sep 17 00:00:00 2001 From: mat ess Date: Tue, 1 Nov 2022 16:12:06 -0400 Subject: [PATCH] Add http->www redirect --- netlify.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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]]