mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 06:17:45 +00:00
1 parent
04e4e1cc1d
commit
705fea6563
1 file changed
+2
-2
@@ -360,10 +360,10 @@ Note that a `status` code of 200 will trigger a [URL rewrite](https://docs.netli
|
|||||||
from = "/myspa/**"
|
from = "/myspa/**"
|
||||||
to = "/myspa/"
|
to = "/myspa/"
|
||||||
status = 200
|
status = 200
|
||||||
|
force = false
|
||||||
{{< /code-toggle >}}
|
{{< /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
|
## Configure Title Case
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user