From ef2010e28eff63acd79bf52a85bfdc4ad130a582 Mon Sep 17 00:00:00 2001 From: spiderr Date: Sat, 17 Aug 2024 13:13:57 -0400 Subject: rewrite forum loop --- .htaccess | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 94957e0..477cf65 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,8 @@ RewriteEngine on + + RewriteRule .*index.php/.*php$ /forums/ [L,R=404] + # Uncomment this if mod_rewrites are not working for you. some hosting services have cranky mod_rewrite # RewriteBase /boards/ RewriteCond %{SCRIPT_FILENAME} -f [OR] @@ -13,7 +16,6 @@ RewriteRule ^view/topic/(\d+.*)$ index.php?t=$1 [L,QSA] - # fake out phpBB user profile page RewriteCond %{REQUEST_URI} profile.php RewriteCond %{QUERY_STRING} .*mode=viewprofile.*u=([0-9]*) -- cgit v1.3