summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-10-05 17:56:28 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2020-10-05 22:20:00 +0200
commit5e2a547cb594b31ecb0f089b08db2e15c6dc381a (patch)
treeb3b529ca40bc6ac2335c2c2bde782e1c964b8d63 /docs
parentee090c0940cdbf636e3a55a40b41612d92b9c62d (diff)
Add force flag to server redirects config
Fixes #7778
Diffstat (limited to 'docs')
-rw-r--r--docs/content/en/getting-started/configuration.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/getting-started/configuration.md b/docs/content/en/getting-started/configuration.md
index 076d9161c..9cbe988f1 100644
--- a/docs/content/en/getting-started/configuration.md
+++ b/docs/content/en/getting-started/configuration.md
@@ -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