Options -Indexes +FollowSymLinks AllowOverride All Require all granted RewriteEngine on # If an existing asset or directory is requested go to it as it is RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d RewriteRule ^ - [L] # If the requested resource doesn't exist, use index.html RewriteCond %{REQUEST_URI} "!=/index.html" [NC] RewriteRule ^ /index.html [L] Options -Indexes +FollowSymLinks AllowOverride All Require all granted RewriteEngine on # If an existing asset or directory is requested go to it as it is RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f [OR] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -d RewriteRule ^ - [L] # If the requested resource doesn't exist, use index.html RewriteCond %{REQUEST_URI} "!=/index.html" [NC] RewriteRule ^ /index.html [L] Options -Indexes +FollowSymLinks AllowOverride All Require all granted RewriteEngine on # If an existing asset or directory is requested go to it as it is RewriteCond %{REQUEST_URI} "^=/fr/" RewriteCond %{REQUEST_URI} "^=/en/" RewriteRule ^ - [L] RewriteRule ^ /fr/ [L,R]