about summary refs log tree commit diff stats
path: root/netlify.toml
diff options
context:
space:
mode:
authorAlan Pearce2018-06-06 21:13:34 +0000
committerAlan Pearce2018-06-06 21:13:34 +0000
commit1a9fb039e2b199a1a09d2bd6d14204775ab621af (patch)
tree43adc2147a8b725b5000d05ef0d11c3ec267ae71 /netlify.toml
parentb2090662ff1a1aab3c1541dd73b586ffbf28f406 (diff)
downloadwebsite-1a9fb039e2b199a1a09d2bd6d14204775ab621af.tar.lz
website-1a9fb039e2b199a1a09d2bd6d14204775ab621af.tar.zst
website-1a9fb039e2b199a1a09d2bd6d14204775ab621af.zip
Add more redirects
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