summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.