summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-02-14 04:24:25 +0100
committerThomas Lange <code@nerdmind.de>2018-02-14 04:24:25 +0100
commita68c77f0e94aa41334fd67751fbfc2dbc5230126 (patch)
tree6666ca11e881c2f2e838c7c2b167a0b54c79ba0f
parentee1872c79e265622055ad306bd9928a80ca1b3f7 (diff)
downloadwiki-a68c77f0e94aa41334fd67751fbfc2dbc5230126.tar.gz
wiki-a68c77f0e94aa41334fd67751fbfc2dbc5230126.tar.xz
wiki-a68c77f0e94aa41334fd67751fbfc2dbc5230126.zip
Add documentation for new configuration options
-rw-r--r--Configuration.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/Configuration.md b/Configuration.md
index 076385c..dc9eafa 100644
--- a/Configuration.md
+++ b/Configuration.md
@@ -66,6 +66,13 @@ Enable or disable the use of slug URLs for item permalinks. If disabled, the uni
* `POST.SLUG_URLS`: [boolean: `TRUE`|`FALSE`]
* `USER.SLUG_URLS`: [boolean: `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/`.
+
+* `PAGE.SINGLE_REDIRECT`: [boolean: `TRUE`|`FALSE`]
+* `POST.SINGLE_REDIRECT`: [boolean: `TRUE`|`FALSE`]
+* `USER.SINGLE_REDIRECT`: [boolean: `TRUE`|`FALSE`]
+
## Directories
Item base directories relative to your base directory where the application is installed.