.htaccess
changeset 0 4869aea77e21
child 5 0cbee2939c40
new file mode 100644
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,14 @@
+<IfModule mod_rewrite.c>
+    RewriteEngine on
+
+    RewriteBase /
+    RewriteCond %{REQUEST_FILENAME} !-f
+    RewriteCond %{REQUEST_FILENAME} !-d
+    RewriteCond %{REQUEST_URI} !(.*)/$
+    RewriteRule ^(.*) $1/ [R,L]
+
+    RewriteCond %{REQUEST_FILENAME} !-f
+    RewriteCond %{REQUEST_FILENAME} !-d
+    RewriteCond %{REQUEST_URI} (.*)/$ [NC]
+    RewriteRule ^(.*)/$ /?page=$1 [L,QSA]
+</IfModule>