diff options
-rw-r--r-- | config.toml | 2 | ||||
-rw-r--r-- | netlify.toml | 36 | ||||
-rw-r--r-- | 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 |