Skip to content

Commit

Permalink
website: fix 404s by adding redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
Noki committed Sep 14, 2024
1 parent ef84174 commit 84fbe8c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions templates/Caddyfile_website.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,38 @@ berlin.freifunk.net {
redir @fallback /en/ 302

redir /index_en /en/ 301
redir /index_en/* /en/ 301

redir /network /de/map/ 301
redir /network/* /de/map/ 301

redir /contact /de/contact/ 301
redir /contact/* /de/contact/ 301
redir /contact_en /en/contact/ 301
redir /contact_en/* /en/contact/ 301

redir /download /de/downloads/ 301
redir /download/* /de/downloads/ 301
redir /downloads /de/downloads/ 301
redir /downloads/* /de/downloads/ 301

redir /participate/ /de/participate/ 301
redir /participate/donate* /de/donate/ 301
redir /participate/howto* /de/participate/ 301
redir /participate/overview* /de/participate/ 301
redir /p /de/participate/ 301

redir /impressum /de/imprint/ 301
redir /impressum/ /de/imprint/ 301
redir /en/imprint /de/imprint/ 301
redir /en/imprint/ /de/imprint/ 301

redir /wiki /de/wiki/ 301
redir /wiki/ /de/wiki/ 301
redir /meshwiki /de/wiki/ 301

redir /cgi-bin/mailman/* /de/contact/ 301

file_server
}

Expand Down

0 comments on commit 84fbe8c

Please sign in to comment.