all repos — homestead @ e2618453abc929a545bf96a0465c8ae5dae63f87

Code for my website

Update redirects

Alan Pearce
commit

e2618453abc929a545bf96a0465c8ae5dae63f87

parent

f8c210c698129cc9d1ca5b7ada307ffd4d87f1e4

1 file changed, 15 insertions(+), 3 deletions(-)

jump to
M netlify.tomlnetlify.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