summary refs log tree commit diff stats
path: root/netlify.toml
diff options
context:
space:
mode:
Diffstat (limited to 'netlify.toml')
-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