IStructuredUrlSettings Properties |
The IStructuredUrlSettings type exposes the following members.
Name | Description | |
---|---|---|
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.
| |
BaseUrl |
Gets/sets the base URL of the runtime site to which this Publishing Target publishes.
It should always be an absolute URL.
| |
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.
| |
ForceLowerCaseUrl |
Gets/sets whether to convert to lowercase for generated URL characters.
This setting is effective during publish.
| |
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.
| |
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.
| |
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.
| |
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.
| |
LastModified |
Last time the SURL settings were modified. For use when building url map.
| |
NormalizeUrlSeparators |
Gets/sets whether to change all of the "-" and "-" to the value of the
UrlSeparator property.
| |
PreservePeriods |
Gets/sets whether to preserve periods from the page name generated URL.
| |
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.
| |
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.
| |
UrlSeparator |
Gets/sets the character used to replace spaces in Page names for the generated page URLs.
| |
UseAliasUrls |
Gets/sets whether to use alias pathing for generated alias URLs.
| |
UseStructuredUrl |
Gets/sets whether the structured URL is enabled for the Publishing Target.
|