From cb1b4cd9802131c886b70af7ab88cc12383bcff4 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 1 Dec 2022 17:35:57 +0100 Subject: [PATCH] use the new link.tinylifegame.com --- web/.htaccess | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/web/.htaccess b/web/.htaccess index 9b9ebe9..db5f301 100644 --- a/web/.htaccess +++ b/web/.htaccess @@ -9,16 +9,18 @@ Options -Indexes RewriteEngine On RewriteBase / +# legacy redirects +RewriteRule ^translate/?$ "https://link.tinylifegame.com/translate" [R=301,L] +RewriteRule ^raw(/.*)?$ "https://link.tinylifegame.com/raw$1" [R=301,L] + +# anchor redirects RewriteRule ^about/?$ "#about" [R=301,L,NE] RewriteRule ^devlogs/?$ "#devlogs" [R=301,L,NE] RewriteRule ^roadmap/?$ "#roadmap" [R=301,L,NE] RewriteRule ^subscribe/?$ "#subscribe" [R=301,L,NE] -RewriteRule ^translate/?$ "https://docs.tinylifegame.com/articles/localization.html" [R=301,L] -RewriteRule ^raw(/.*)?$ "https://raw.githubusercontent.com/Ellpeck/TinyLifeWeb/main$1" [R=301,L] - +# permanent redirects RewriteCond %{QUERY_STRING} "(?=.*ver=([^&]*))?(?=.*log=([^&]*))?" -RewriteRule ^feedback "https://docs.google.com/forms/d/e/1FAIpQLSfazQgG9tyo0pXcQemTzb3Z9qDAL7y6pIzsnvD3vEXJqwJKQA/viewform?usp=pp_url&entry.769753510=%1&entry.1339288296=Give+feedback+(Suggestions,+complaints+etc.)&entry.476139991=%2" [NE,R=301,L] - +RewriteRule ^feedback "https://link.tinylifegame.com/form?usp=pp_url&entry.769753510=%1&entry.1339288296=Give+feedback+(Suggestions,+complaints+etc.)&entry.476139991=%2" [NE,R=301,L] RewriteCond %{QUERY_STRING} "(?=.*ver=([^&]*))?(?=.*log=([^&]*))?" -RewriteRule ^bugreport "https://docs.google.com/forms/d/e/1FAIpQLSfazQgG9tyo0pXcQemTzb3Z9qDAL7y6pIzsnvD3vEXJqwJKQA/viewform?usp=pp_url&entry.769753510=%1&entry.1339288296=Report+a+bug+(Crash,+error+notification+in-game+etc.)&entry.476139991=%2" [NE,R=301,L] +RewriteRule ^bugreport "https://link.tinylifegame.com/form?usp=pp_url&entry.769753510=%1&entry.1339288296=Report+a+bug+(Crash,+error+notification+in-game+etc.)&entry.476139991=%2" [NE,R=301,L]