Browse Source

rewrite old URLs

max.mehl 2 months ago
parent
commit
f1b18f165e
No account linked to committer's email address
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      static/.htaccess

+ 7
- 0
static/.htaccess View File

@@ -1,3 +1,10 @@
1
+RewriteEngine On
2
+RewriteBase /
3
+
4
+RewriteRule ^(en|de)/(.*)$ /$2 [R=301,L]
5
+RewriteRule ^(en|de)/?$ / [R=301,L]
6
+RewriteRule ^about/?$ / [R=301,L]
7
+
1 8
 # Compression
2 9
 AddOutputFilterByType DEFLATE text/plain
3 10
 AddOutputFilterByType DEFLATE text/html

Loading…
Cancel
Save