aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess4
1 files changed, 4 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 7ded04e..270be92 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,7 @@
RewriteEngine on
+# everything that does not contain asssets|media|fonts
+RewriteCond %{REQUEST_URI} !^(.*)/(assets|media|fonts)/ [OR]
+# or that isn't a file
RewriteCond %{REQUEST_FILENAME} !-f
+# is redirect to index
RewriteRule . index.php [L] \ No newline at end of file