move posts to /posts directory

This commit is contained in:
Ell 2024-05-21 15:05:07 +02:00
parent 7540f5a0bc
commit a059141b5e
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@ RewriteBase /
# legacy redirects # legacy redirects
RewriteRule ^translate/?$ "https://link.tinylifegame.com/translate" [R=301,L] RewriteRule ^translate/?$ "https://link.tinylifegame.com/translate" [R=301,L]
RewriteRule ^raw(/.*)?$ "https://link.tinylifegame.com/raw$1" [R=301,L] RewriteRule ^raw(/.*)?$ "https://link.tinylifegame.com/raw$1" [R=301,L]
RewriteRule ^devlogs/(.*)$ "posts/$1" [R=301,L]
# anchor redirects # anchor redirects
RewriteRule ^about/?$ "#about" [R=301,L,NE] RewriteRule ^about/?$ "#about" [R=301,L,NE]

View file

@ -1,4 +1,4 @@
permalink: devlogs/:title/ permalink: posts/:title/
defaults: defaults:
- scope: - scope: