2017-06-15 20:04:01 +02:00
|
|
|
RewriteEngine On
|
2017-06-19 23:06:51 +02:00
|
|
|
RewriteBase /
|
2017-06-15 20:04:01 +02:00
|
|
|
|
2019-01-23 16:43:29 +01:00
|
|
|
# redirect all requests to non-existing translations to EN
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
|
|
RewriteRule ^[a-z-]*/(.+) $1 [L,R=301]
|
|
|
|
|
2017-06-19 23:18:10 +02:00
|
|
|
# Redirect 404 errors to nice page
|
2017-03-22 15:20:18 +01:00
|
|
|
ErrorDocument 404 /404.html
|