Browse Source

put language redirect in htaccess

Max Mehl 2 months ago
parent
commit
d9d0d2a0e5
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      000-default.conf

+ 0
- 5
000-default.conf View File

@@ -7,11 +7,6 @@
7 7
   ServerName publiccode.eu
8 8
   
9 9
   RedirectMatch permanent "^/zh_tw/?(.*)$" "/zh-tw/$1"
10
-  
11
-  # redirect all requests to non-existing translations to EN
12
-  RewriteCond %{REQUEST_FILENAME} !-f
13
-  RewriteCond %{REQUEST_FILENAME} !-d
14
-  RewriteRule ^[a-z-]*/(.+) $1 [L,R=301]
15 10
 
16 11
   ServerAdmin contact@fsfe.org
17 12
   DocumentRoot /usr/share/blog/public/

Loading…
Cancel
Save