about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-06-11 15:40:06 +0000
committerAlan Pearce2018-06-11 15:40:06 +0000
commit5619a512a607df67ca5970494917e20471aab8c6 (patch)
tree13992a3b7b789282cfe64497698904486779761e
parent7064c5348cf154f2ef51acdcd04843183f4ffead (diff)
downloadwebsite-5619a512a607df67ca5970494917e20471aab8c6.tar.lz
website-5619a512a607df67ca5970494917e20471aab8c6.tar.zst
website-5619a512a607df67ca5970494917e20471aab8c6.zip
Update redirects
-rw-r--r--netlify.toml18
1 files changed, 15 insertions, 3 deletions
diff --git a/netlify.toml b/netlify.toml
index 0b02993..daedd90 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -9,18 +9,30 @@
 
 [[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
\ No newline at end of file