From 46a8f3dfb5070c30482d34f91ff12d895c6ce1d1 Mon Sep 17 00:00:00 2001 From: arne Date: Tue, 23 Jul 2024 08:30:04 +0200 Subject: [PATCH] Use more consistent URLs --- .eleventy.js | 1 + src/.htaccess | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 src/.htaccess diff --git a/.eleventy.js b/.eleventy.js index 9394d8e..ebb6c07 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -24,6 +24,7 @@ export default function (config) { config.addPlugin(pluginToc) config.addPlugin(pluginSyntaxHighlight) + config.addPassthroughCopy('src/.htaccess') config.addPassthroughCopy('src/robots.txt') config.addPassthroughCopy('src/assets/key.txt') config.addPassthroughCopy('src/assets/prism-base16-ateliersulphurpool.light.css') diff --git a/src/.htaccess b/src/.htaccess new file mode 100644 index 0000000..918d088 --- /dev/null +++ b/src/.htaccess @@ -0,0 +1,4 @@ +RewriteBase / + +Redirect 301 /pages/dimensions-of-covid /fleck/dimensions-of-covid +Redirect 301 /things/looptober-2023 /fleck/looptober-2023