summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess5
1 files changed, 5 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..7e61aa0
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,5 @@
+RewriteEngine on
+
+RewriteRule ^category/([0-9]+)$ /forum/category.php?id=$1
+RewriteRule ^thread/([0-9]+)$ /forum/thread.php?id=$1
+RewriteRule ^user/([a-zA-Z0-9_]*)$ /forum/user.php?name=$1 \ No newline at end of file