aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 5 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 8262b68..03aea7e 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,5 +24,9 @@ RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
-RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA]
+
+#if cleanurls don't work, comment option 1 (by adding # at the beginning) and uncomment option 2:
+RewriteRule ^([^/]+)/?(.*) $1.php?query=$2 [L,QSA] #option 1
+#RewriteRule ^([^/]+)/?(.*) $1.php/$2 [L] #option 2
+
</IfModule>