summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2024-08-17 13:13:57 -0400
committerspiderr <spiderr@bitweaver.org>2024-08-17 13:13:57 -0400
commitef2010e28eff63acd79bf52a85bfdc4ad130a582 (patch)
tree894ade205f65ee1ef104ef00cc0f9137fd5a6772
parentd20eb4827bbe75cf0bc029521b08a5996f9c8729 (diff)
downloadboards-ef2010e28eff63acd79bf52a85bfdc4ad130a582.tar.gz
boards-ef2010e28eff63acd79bf52a85bfdc4ad130a582.tar.bz2
boards-ef2010e28eff63acd79bf52a85bfdc4ad130a582.zip
rewrite forum loop
-rw-r--r--.htaccess4
1 files changed, 3 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 94957e0..477cf65 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,8 @@
<IfModule mod_rewrite.c>
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]*)