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.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/netlify.toml b/netlify.toml
index d25c626..e325c01 100644
--- a/netlify.toml
+++ b/netlify.toml
@@ -2,4 +2,16 @@
   from = "https://alanpearceuk.netlify.com/*"
   to = "https://alanpearce.uk/:splat"
   status = 301
+  force = true
+
+[[redirects]]
+  from = "https://www.alanpearce.co.uk/*"
+  to = "https://alanpearce.uk/:splat"
+  status = 301
+  force = true
+
+[[redirects]]
+  from = "https://alanpearce.co.uk/*"
+  to = "https://alanpearce.uk/:splat"
+  status = 301
   force = true
\ No newline at end of file