From 97620cb583017c29a9418c13a070889dffc6758a Mon Sep 17 00:00:00 2001 From: MartinH0 Date: Thu, 30 Jan 2020 18:36:02 +0100 Subject: [PATCH] Add htaccess to redirect if not found to index If file not fount or directory not found redirect to index.html --- .htaccess | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..638a7c82 --- /dev/null +++ b/.htaccess @@ -0,0 +1,4 @@ +RewriteEngine on +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +RewriteRule ^.*$ /index.html [L]