summaryrefslogtreecommitdiffstats
path: root/Configuration.md
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-24 20:54:45 +0200
committerThomas Lange <code@nerdmind.de>2021-07-24 20:54:45 +0200
commita80afbacabea8d162edcf9cf8737c45f13644af5 (patch)
treea52f50adc2b4e8ab7147f925b19ecd2d0f1639b7 /Configuration.md
parentd2999ccd689824ebc3b504b07e81cd221fdfb21a (diff)
downloadwiki-a80afbacabea8d162edcf9cf8737c45f13644af5.tar.gz
wiki-a80afbacabea8d162edcf9cf8737c45f13644af5.tar.xz
wiki-a80afbacabea8d162edcf9cf8737c45f13644af5.zip
Update documentation
Diffstat (limited to 'Configuration.md')
-rw-r--r--Configuration.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/Configuration.md b/Configuration.md
index 02c2e62..44e9d61 100644
--- a/Configuration.md
+++ b/Configuration.md
@@ -89,12 +89,12 @@ Enable or disable the use of slug URLs for item permalinks. If disabled, the uni
* `USER.SLUG_URLS`: [bool: `TRUE`|`FALSE`]
## Single redirects
-Enable or disable the redirection from the overviews to the items main page if only one item of the specific type exists. For example, if you only have one user and `USER.SINGLE_REDIRECT` is set to `TRUE`, then requests to `/user/` will be automatically redirected to `/user/username/` or `/user/id/`.
+Enable or disable the redirection from the overviews to the items primary page if only one item of the specific type exists. For example, if you only have one user and `USER.REDIRECT_SINGLE` is set to `TRUE`, requests to `/user/` will be automatically redirected to `/user/username/` (or `/user/id/`).
-* `CATEGORY.SINGLE_REDIRECT`: [bool: `TRUE`|`FALSE`]
-* `PAGE.SINGLE_REDIRECT`: [bool: `TRUE`|`FALSE`]
-* `POST.SINGLE_REDIRECT`: [bool: `TRUE`|`FALSE`]
-* `USER.SINGLE_REDIRECT`: [bool: `TRUE`|`FALSE`]
+* `CATEGORY.REDIRECT_SINGLE`: [bool: `TRUE`|`FALSE`]
+* `PAGE.REDIRECT_SINGLE`: [bool: `TRUE`|`FALSE`]
+* `POST.REDIRECT_SINGLE`: [bool: `TRUE`|`FALSE`]
+* `USER.REDIRECT_SINGLE`: [bool: `TRUE`|`FALSE`]
## Directories
Item base directories relative to your base directory where the application is installed.