Skip to main content

Enforce version presence


Set up an item or template to require an actual version in every language that has been added in Sitecore.

With the enforce version presence feature you can make sure that an item is only rendered for a specific language version of a website if there is a different language version of the item. When you enforce version presence of an item, the relevant translated language version of the item must be available for it to be returned from the API and displayed on the website.

By default, the enforce version presence feature is disabled. You must enable the feature on the relevant websites and on the relevant items or item templates.

To enforce version presence on a website:

  • Open \Website\App_Config\Sitecore.config and set the attribute enforceVersionPresence to true. You must enable the attribute on each of the relevant websites.

    If the enforceVersionPresence attribute is not present, you can add it manually.


    Do not enable the enforceVersionPresence attribute on the shell or any other default site.

To enable enforce version presence on an item or a data template:

  • In the Content Editor, navigate to the relevant item or template, in the Advanced section, select Enforce Version Presence.


    You can also enable this on a base template to allow data templates to inherit the setting from there.