From 57edf9cb4977b431cc6d3ebffae96d7ebfbc400f Mon Sep 17 00:00:00 2001 From: Retrofoxxo <144725203+retrofoxxo@users.noreply.github.com> Date: Mon, 12 Aug 2024 16:05:37 +0200 Subject: [PATCH] Update .htaccess almost forgot the new .htaccess contents --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index eed03c8..7c4d467 100644 --- a/.htaccess +++ b/.htaccess @@ -7,6 +7,7 @@ RewriteRule ^ %{REQUEST_URI}.php [NC,L] RewriteRule ^users$ /user/register.php RewriteRule ^users/me$ /user/aboutown.php RewriteRule ^users/authenticate$ /user/authenticate.php +RewriteRule ^posts/(.*)/comments$ /post/comments.php?id=$1 RewriteRule ^users/(.*)/preferences$ /user/profile/preferences.php?id=$1 RewriteRule ^users/(.*)/edition$ /user/profile/edition.php?id=$1 RewriteRule ^users/(.*)/notifications/settings$ /user/profile/notificationsettings.php?id=$1