aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.htaccess11
1 files changed, 3 insertions, 8 deletions
diff --git a/.htaccess b/.htaccess
index 0aadc0a..af8639d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -15,11 +15,6 @@
RewriteEngine On
#===============================================================================
-# Define RewriteBase
-#===============================================================================
-RewriteBase /
-
-#===============================================================================
# ErrorDocument handler
#===============================================================================
ErrorDocument 403 /system/403.php
@@ -41,6 +36,6 @@ RewriteRule ^(feed|search)/$ system/$1/main.php [L]
#===============================================================================
# Trailing slashes
#===============================================================================
-RewriteRule ^(page|post|user)/([^/]+)$ $1/$2/ [R,L]
-RewriteRule ^(page|post|user|feed|search)$ $1/ [R,L]
-RewriteRule ^feed/(post|page)$ feed/$1/ [R,L] \ No newline at end of file
+RewriteRule ^(page|post|user)/([^/]+)$ %{REQUEST_URI}/ [R,L]
+RewriteRule ^(page|post|user|feed|search)$ %{REQUEST_URI}/ [R,L]
+RewriteRule ^feed/(post|page)$ %{REQUEST_URI}/ [R,L] \ No newline at end of file