404 page
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
RewriteEngine On
|
||||
RewriteBase /
|
||||
|
||||
# Redirect old links
|
||||
RewriteRule ^(en|de)/(.*)$ /$2 [R=301,L]
|
||||
RewriteRule ^(en|de)/?$ / [R=301,L]
|
||||
RewriteRule ^about/?$ / [R=301,L]
|
||||
|
||||
# Error documents
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
# Compression
|
||||
AddOutputFilterByType DEFLATE text/plain
|
||||
AddOutputFilterByType DEFLATE text/html
|
||||
|
||||
Reference in New Issue
Block a user