From a059141b5ee4333177d04d7d6079677378948cfc Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 21 May 2024 15:05:07 +0200 Subject: [PATCH] move posts to /posts directory --- web/.htaccess | 1 + web/_config.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/.htaccess b/web/.htaccess index 281e836..3fe48ae 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -13,6 +13,7 @@ RewriteBase / # legacy redirects RewriteRule ^translate/?$ "https://link.tinylifegame.com/translate" [R=301,L] RewriteRule ^raw(/.*)?$ "https://link.tinylifegame.com/raw$1" [R=301,L] +RewriteRule ^devlogs/(.*)$ "posts/$1" [R=301,L] # anchor redirects RewriteRule ^about/?$ "#about" [R=301,L,NE] diff --git a/web/_config.yaml b/web/_config.yaml index 6a81268..35f6134 100644 --- a/web/_config.yaml +++ b/web/_config.yaml @@ -1,4 +1,4 @@ -permalink: devlogs/:title/ +permalink: posts/:title/ defaults: - scope: