From 993036f636b446c60ad4dfdb9fb5bc911b686d4a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 22 Jun 2018 15:06:38 +0200 Subject: Update to .eu --- config.toml | 2 +- netlify.toml | 36 ++++++++++++++++++++++++++++++------ static/robots.txt | 4 ++-- 3 files changed, 33 insertions(+), 9 deletions(-) diff --git a/config.toml b/config.toml index 3450dc2..4c9a89a 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ languageCode = "en-gb" -baseurl = "https://www.alanpearce.uk" +baseurl = "https://www.alanpearce.eu" title = "Alan Pearce" theme = "hyde" pygmentsUseClasses = true diff --git a/netlify.toml b/netlify.toml index 6b14df6..372d71e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -11,32 +11,56 @@ HUGO_ENABLEGITINFO = "true" [[redirects]] - from = "https://alanpearceuk.netlify.com/*" - to = "https://www.alanpearce.uk/:splat" + from = "https://alanpearceeu.netlify.com/*" + to = "https://www.alanpearce.eu/:splat" status = 301 force = true [[redirects]] from = "https://www.alanpearce.co.uk/*" - to = "https://www.alanpearce.uk/:splat" + to = "https://www.alanpearce.eu/:splat" status = 301 force = true [[redirects]] from = "https://alanpearce.co.uk/*" - to = "https://www.alanpearce.uk/:splat" + to = "https://www.alanpearce.eu/:splat" status = 301 force = true [[redirects]] from = "http://www.alanpearce.co.uk/*" - to = "https://www.alanpearce.uk/:splat" + to = "https://www.alanpearce.eu/:splat" status = 301 force = true [[redirects]] from = "http://alanpearce.co.uk/*" - to = "https://www.alanpearce.uk/:splat" + to = "https://www.alanpearce.eu/:splat" + status = 301 + force = true + +[[redirects]] + from = "https://www.alanpearce.uk/*" + to = "https://www.alanpearce.eu/:splat" + status = 301 + force = true + +[[redirects]] + from = "https://alanpearce.uk/*" + to = "https://www.alanpearce.eu/:splat" + status = 301 + force = true + +[[redirects]] + from = "http://www.alanpearce.uk/*" + to = "https://www.alanpearce.eu/:splat" + status = 301 + force = true + +[[redirects]] + from = "http://alanpearce.uk/*" + to = "https://www.alanpearce.eu/:splat" status = 301 force = true diff --git a/static/robots.txt b/static/robots.txt index bab0950..4acd2e6 100644 --- a/static/robots.txt +++ b/static/robots.txt @@ -1,4 +1,4 @@ User-agent: * Disallow: -Host: alanpearce.uk -Sitemap: https://alanpearce.uk/sitemap.xml +Host: alanpearce.eu +Sitemap: https://alanpearce.eu/sitemap.xml -- cgit 1.4.1