Initial commit
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
ErrorDocument 404 /404.html
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# sichtbare .html-URLs auf schöne URLs umleiten
|
||||
RewriteRule ^(legal-notice|privacy)\.html$ /$1 [R=301,L,NC]
|
||||
|
||||
# schöne URLs intern auf .html-Dateien abbilden
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(legal-notice|privacy)/?$ $1.html [L,NC]
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user