Click or drag to resize

IStructuredUrlSettings Properties


The IStructuredUrlSettings type exposes the following members.

Properties
  Name Description
Public property AutoRedirectCanonical Gets/sets whether pages with multiple URL mappings automatically redirect from a noncanonical to a canonical URL. If true, redirects will happen automatically. Otherwise, users visit the page's noncanonical URL (normally from the page's past names or paths due to renaming the page or moving it in the site tree) and no redirect occurs.
Public property Code example BaseUrl Gets/sets the base URL of the runtime site to which this Publishing Target publishes. It should always be an absolute URL.
Public property EnabledExtensions Gets/sets extra extensions to support besides the specified UrlExtension. Normally, .xml, .htm, and .html are automatically supported if this setting is left null or empty. If the setting is not null or empty, this property's values are explicited followed.
Public property ForceLowerCaseUrl Gets/sets whether to convert to lowercase for generated URL characters. This setting is effective during publish.
Public property Handle404Page Gets/sets the ID of the 404 response handling Page. If not specified, the Dynamic Site Server uses the ASP.NET default 404 handling page to indicate missing resources.
Public property HomePage Gets/sets the ID of the published site's home page. This Page will be the root of a published site. All its descendants will obtain their structured URL based on their relative path from the Home Page.
Public property IncludeAliasContainers Gets/sets whether alias containers should be included in the URL path.
Public property IncludeComponentsInUrl Gets/sets whether to include names of the ancestors that are components in a page's URL. If true, names of comonents will be included. If false, they won't be.
Public property IncludeFoldersInUrl Gets/sets whether to include names of the ancestors that are folders in a page's URL. If true, names of folders will be included. If false, they won't be.
Public property LastModified Last time the SURL settings were modified. For use when building url map.
Public property NormalizeUrlSeparators Gets/sets whether to change all of the "-" and "-" to the value of the UrlSeparator property.
Public property Code example PreservePeriods Gets/sets whether to preserve periods from the page name generated URL.
Public property Code example StripDiacritics Gets/sets whether to remove diacritics and accents from extended characters in the Western European/Latin-1/Windows-1251 character set in the URL.
Public property UrlExtension Gets/sets the extension of the URL to access pages at a run-time site. Can be left empty to have an extensionless URL.
Public property UrlSeparator Gets/sets the character used to replace spaces in Page names for the generated page URLs.
Public property UseAliasUrls Gets/sets whether to use alias pathing for generated alias URLs.
Public property UseStructuredUrl Gets/sets whether the structured URL is enabled for the Publishing Target.
Top
See Also