Update redirects
Alan Pearce alan@alanpearce.eu
Mon, 11 Jun 2018 15:40:06 +0000
1 files changed, 15 insertions(+), 3 deletions(-)
jump to
M netlify.toml → netlify.toml
@@ -9,18 +9,30 @@ HUGO_ENABLEGITINFO = "true" [[redirects]] from = "https://alanpearceuk.netlify.com/*" - to = "https://alanpearce.uk/:splat" + to = "https://www.alanpearce.uk/:splat" status = 301 force = true [[redirects]] from = "https://www.alanpearce.co.uk/*" - to = "https://alanpearce.uk/:splat" + to = "https://www.alanpearce.uk/:splat" status = 301 force = true [[redirects]] from = "https://alanpearce.co.uk/*" - to = "https://alanpearce.uk/:splat" + to = "https://www.alanpearce.uk/:splat" + status = 301 + force = true + +[[redirects]] + from = "http://www.alanpearce.co.uk/*" + to = "https://www.alanpearce.uk/:splat" + status = 301 + force = true + +[[redirects]] + from = "http://alanpearce.co.uk/*" + to = "https://www.alanpearce.uk/:splat" status = 301 force = true