feat: reposition desfoto as an independent brand with four Arbeitsbereiche
This commit is contained in:
19
nginx.conf
19
nginx.conf
@@ -64,13 +64,22 @@ server {
|
||||
location = /impressum.html { return 301 /impressum/; }
|
||||
location = /datenschutz.html { return 301 /datenschutz/; }
|
||||
location = /kontakt.html { return 301 /kontakt/; }
|
||||
# /fotografie.html used to redirect to /shootings/; it resolves to its own
|
||||
# canonical page now instead of turning into a 404.
|
||||
location = /fotografie.html { return 301 /fotografie/; }
|
||||
|
||||
# Shootings is the umbrella term for the photographic work; the old
|
||||
# /fotografie/ URL stays reachable and points to the new page.
|
||||
# Fotografie is the umbrella term for the photographic work; the old
|
||||
# /shootings/ URL stays reachable and points to the new page.
|
||||
# (/fotografie/index.html is already canonicalised to /fotografie/ above.)
|
||||
location = /fotografie { return 301 /shootings/; }
|
||||
location = /fotografie/ { return 301 /shootings/; }
|
||||
location = /fotografie.html { return 301 /shootings/; }
|
||||
location = /shootings { return 301 /fotografie/; }
|
||||
location = /shootings/ { return 301 /fotografie/; }
|
||||
location = /shootings.html { return 301 /fotografie/; }
|
||||
|
||||
# Familie keeps the photographic range that stays with desfoto; the old
|
||||
# combined Familien-und-Paare URL points here.
|
||||
location = /familien-und-paare { return 301 /familie/; }
|
||||
location = /familien-und-paare/ { return 301 /familie/; }
|
||||
location = /familien-und-paare.html { return 301 /familie/; }
|
||||
|
||||
location ^~ /.well-known/ {
|
||||
allow all;
|
||||
|
||||
Reference in New Issue
Block a user