From e39d87acc0ad43d54dff7080e30854264b7a7186 Mon Sep 17 00:00:00 2001 From: Yusur Princeps Date: Thu, 12 Feb 2026 17:35:40 +0100 Subject: [PATCH] 0.1.1 add rewrite rules --- .htaccess | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index e9b4600..f5ce65c 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,10 @@ -Options -Indexes \ No newline at end of file +Options -Indexes + +RewriteEngine on + +RewriteRule \.git - [F] + +RewriteRule ^$ index.php [L] +RewriteCond ^([a-z0-9]+)/?$ index.php?link=$1 [L,QSA] \ No newline at end of file