Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebRoutingSettings

    Typed configuration options for web routing settings.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Configuration.Models
    Assembly: Umbraco.Core.dll
    Syntax
    [UmbracoOptions("Umbraco:CMS:WebRouting")]
    public class WebRoutingSettings

    Properties

    View Source

    DisableAlternativeTemplates

    Gets or sets a value indicating whether the use of alternative templates are disabled.

    Declaration
    public bool DisableAlternativeTemplates { get; set; }
    Property Value
    Type Description
    bool
    View Source

    DisableFindContentByIdentifierPath

    Gets or sets a value indicating whether the content finder by a path of the content key (ContentFinderByKeyPath) is disabled.

    Declaration
    public bool DisableFindContentByIdentifierPath { get; set; }
    Property Value
    Type Description
    bool
    View Source

    DisableRedirectUrlTracking

    Gets or sets a value indicating whether redirect URL tracking is disabled.

    Declaration
    public bool DisableRedirectUrlTracking { get; set; }
    Property Value
    Type Description
    bool
    View Source

    InternalRedirectPreservesTemplate

    Gets or sets a value indicating whether an internal redirect should preserve the template.

    Declaration
    public bool InternalRedirectPreservesTemplate { get; set; }
    Property Value
    Type Description
    bool
    View Source

    TryMatchingEndpointsForAllPages

    Gets or sets a value indicating whether to check if any routed endpoints match a front-end request before the Umbraco dynamic router tries to map the request to an Umbraco content item.

    Declaration
    public bool TryMatchingEndpointsForAllPages { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    This should not be necessary if the Umbraco catch-all/dynamic route is registered last like it's supposed to be. In that case ASP.NET Core will automatically handle this in all cases. This is more of a backward compatible option since this is what v7/v8 used to do.

    View Source

    TrySkipIisCustomErrors

    Gets or sets a value indicating whether IIS custom errors should be skipped.

    Declaration
    public bool TrySkipIisCustomErrors { get; set; }
    Property Value
    Type Description
    bool
    View Source

    UmbracoApplicationUrl

    Gets or sets a value for the Umbraco application URL.

    Declaration
    public string UmbracoApplicationUrl { get; set; }
    Property Value
    Type Description
    string
    View Source

    UrlProviderMode

    Gets or sets a value for the URL provider mode (UrlMode).

    Declaration
    public UrlMode UrlProviderMode { get; set; }
    Property Value
    Type Description
    UrlMode
    View Source

    UseStrictDomainMatching

    Gets or sets a value indicating whether strict domain matching is used when finding content to match the request.

    Declaration
    public bool UseStrictDomainMatching { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    This setting is used within Umbraco's routing process based on content finders, specifically ContentFinderByUrlNew.

    If set to the default value of false, requests that don't match a configured domain will be routed to the first root node.

    If set to true, requests that don't match a configured domain will not be routed.

    View Source

    ValidateAlternativeTemplates

    Gets or sets a value indicating whether the use of alternative templates should be validated.

    Declaration
    public bool ValidateAlternativeTemplates { get; set; }
    Property Value
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX