Skip to content

Commit

Permalink
Add force flag to server redirects config
Browse files Browse the repository at this point in the history
Fixes #7778
  • Loading branch information
bep committed Oct 5, 2020
1 parent 04e4e1c commit 705fea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/en/getting-started/configuration.md
Expand Up @@ -360,10 +360,10 @@ Note that a `status` code of 200 will trigger a [URL rewrite](https://docs.netli
from = "/myspa/**"
to = "/myspa/"
status = 200
force = false
{{< /code-toggle >}}



{{< new-in "0.76.0" >}} Setting `force=true` will make a redirect even if there is existing content in the path. Note that before Hugo 0.76 `force` was the default behaviour, but this is inline with how Netlify does it.

## Configure Title Case

Expand Down

0 comments on commit 705fea6

Please sign in to comment.