mirror of
https://github.com/frontendnetwork/vegancheck.me
synced 2024-11-10 06:24:13 +00:00
Added errordocs
This commit is contained in:
parent
059e0057ec
commit
924602e3f1
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,7 @@ RewriteBase /
|
|||
RewriteEngine on
|
||||
|
||||
# Redirect all to index
|
||||
FallbackResource /index.php
|
||||
# FallbackResource /index.php
|
||||
|
||||
# Redirect "datenschutz" to "privacy-policy"
|
||||
RewriteRule datenschutz privacy-policy [L,R=301]
|
||||
|
@ -15,6 +15,9 @@ RewriteRule datenschutz privacy-policy [L,R=301]
|
|||
# UTF-8 Endcoding
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
ErrorDocument 404 https://vegancheck.me
|
||||
ErrorDocument 403 https://vegancheck.me
|
||||
|
||||
# Don't require .php/.html ending
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteCond %{REQUEST_FILENAME}\.php -f
|
||||
|
|
Loading…
Reference in a new issue