Skip to content

Commit

Permalink
Merge pull request #186 from salim-b/de-404-redirect
Browse files Browse the repository at this point in the history
Add Netlify redirect rule for German subpages
  • Loading branch information
somratpro committed Aug 14, 2021
2 parents 5f19901 + 459f123 commit 0721ac7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions netlify.toml
Expand Up @@ -7,6 +7,12 @@
HUGO_THEME = "repo"
HUGO_BASEURL = "/"

# German subpages 404
[[redirects]]
from = "/de/*"
to = "/de/404.html"
status = 404

# French subpages 404
[[redirects]]
from = "/fr/*"
Expand Down

0 comments on commit 0721ac7

Please sign in to comment.