Skip to content

Commit 024032f

Browse files
committed
Added details of unroutable content warnings configuration.
1 parent 3399160 commit 024032f

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

13/umbraco-cms/reference/configuration/contentsettings.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ The following snippet will give an overview of the keys and values in the conten
4949
"PreviewBadge": "<![CDATA[<b>My HTML here</b>]]>",
5050
"ResolveUrlsFromTextString": false,
5151
"ShowDeprecatedPropertyEditors": false,
52-
"ShowDomainWarnings": true
52+
"ShowDomainWarnings": true,
53+
"ShowUnroutableContentWarnings": true
5354
}
5455
}
5556
}
@@ -176,15 +177,23 @@ This setting is used for controlling whether or not the Data Types marked as obs
176177

177178
By default this is set to `false`. To make the obsolete data types visible in the dropdown change the value to `true`.
178179

179-
### Show Domain Warnings
180+
### Show domain warnings
180181

181182
If you do not configure Domains for each language in a multilingual site then every time you publish your content you get this warning:
182183

183184
`Content published: Domains are not configured for multilingual site, please contact an administrator, see log for more information.`
184185

185186
If you have a use case for not setting the domains, you can set this setting **ShowDomainWarnings** to `false` to stop the warning from displaying.
186187

187-
## ContentVersionCleanupPolicy
188+
### Show unroutable content warnings
189+
190+
If your routing setup leads to more than one document having the same URL, on publish a warning will be displayed:
191+
192+
`Content published: The document does not have a URL, possibly due to a naming collision with another document. More details can be found under Info.`
193+
194+
To suppress these warnings, set this option to `false`.
195+
196+
## Content version cleanup policy
188197

189198
The global settings for the scheduled job which cleans historic content versions. These settings can be overridden per Document Type.
190199

@@ -202,19 +211,19 @@ See [Content Version Cleanup](../../fundamentals/data/content-version-cleanup.md
202211

203212
To retain only the current draft and published version, set both the "keep" settings values to 0. The next time the scheduled job runs (hourly) all non-current versions (except those marked "prevent cleanup") will be removed.
204213

205-
### EnableCleanup
214+
### Enable cleanup
206215

207216
When set to `true`, a scheduled job will delete historic content versions that are not retained according to the policy every hour.
208217

209218
When set to `false`, the scheduled job will not delete any content versions, regardless of any overridden settings for a Document Type.
210219

211220
The dotnet new template provides an `appsettings.json` file with the default value set to `true` for all sites.
212221

213-
### KeepAllVersionsNewerThanDays
222+
### Keep all versions newer than days
214223

215224
All versions that fall in this period will be kept.
216225

217-
### KeepLatestVersionPerDayForDays
226+
### Keep latest version per day for days
218227

219228
For content versions that fall in this period, the most recent version for each day is kept. All previous versions for that day are removed unless marked as preventCleanup.
220229

@@ -239,11 +248,11 @@ This section is used for managing how Umbraco handles images, allowed attributes
239248

240249
Let's break it down.
241250

242-
### ImageFileTypes
251+
### Image file types
243252

244253
This is a separated list of accepted image formats
245254

246-
### AutoFillImageProperties
255+
### Auto fill image properties
247256

248257
You can define what properties should be automatically updated when an image is being uploaded. This means that if you decide to rename the default **umbracoWidth** and **umbracoHeight** properties the values in **`"WidthFieldAlias"`** and **`"HeightFieldAlias"`** need to be updated. This needs to happen in order to automatically populate the values when the image is being uploaded.
249258

0 commit comments

Comments
 (0)