The URLRewriter type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
GetEditingUrl |
Gets the preview page URL
| |
GetGoogleSiteMapURL |
Returns sitemap URL for specific site
| |
GetHandledUrl |
Returns the url handled by handler404 page.
| |
GetLiveUrl |
Gets the live page URL
| |
HandleRewriteRedirect |
Handles the rewrite redirect of the request
| |
CheckLicense |
Check if license for actual Url is valid.
| |
CheckPublishedState |
Checks the published state of the document. If the document is not published and combine with default culture is enabled and default culture is published, default culture is returned. If no published version is found, the page info is set to null.
| |
PageNotFound |
Returns the page not found error or redirects to the page not found page
| |
PageNotFoundForNonPublished |
Returns true if the non published documents should return page not found result.
| |
PerformPlannedRedirect |
Performs the redirect that was previously planned by URL rewriter
| |
ProcessABTest |
Returns current page info with dependence on ab test settings
| |
ProcessPageTemplate |
Processes the page template and returns file name to rewrite to, if returning file name is null, no rewriting should occur and was handled internally
| |
ProcessRewritingAction |
Processes the given rewriting action.
| |
ProcessRewritingResult(URLRewritingParams) |
Processes the result of URL rewriting and handlers appropriate actions
| |
ProcessRewritingResult(RequestStatusEnum, ExcludedSystemEnum, SiteNameOnDemand, ViewModeOnDemand, String) |
Processes the result of URL rewriting and handlers appropriate actions
| |
RedirectToMainUrl |
Redirects the page to its main URL.
| |
RewritePath |
Rewrites the path by using the given file path and query string.
| |
RewriteUrl |
Rewrites the URL and performs all operations required after URL rewriting.
| |
SendOutputFromCache |
Attempts to send the output of the page from the cache.
| |
SetViewMode |
Sets the viewmode if viewmode parameter present in current request parameters.
| |
UseDomainForCulture |
Gets the value that indicates whether domain should be used for culture
| |
ValidateCulture |
Validates the culture value.
|
Fields
Name | Description | |
---|---|---|
CacheItemPriority |
Cache item priority.
| |
PREFIX_CMS_GETATTACHMENT |
GetAttachment prefix for CMS pages (pages which require authentication).
| |
PREFIX_CMS_GETDOC |
GetDoc prefix for CMS pages (pages which require authentication).
| |
PREFIX_CMS_GETFILE |
GetFile prefix for CMS pages (pages which require authentication).
| |
PREFIX_GETATTACHMENT |
GetAttachment prefix.
| |
PREFIX_GETFILE |
GetFile prefix.
|
Properties
Name | Description | |
---|---|---|
FixRewriteRedirect |
If true, the URL rewriting process attempts to fix the redirect that some module did with wrong URL by another redirect with the original URL. Set true when using cookieless mode. Default is false.
| |
RedirectLangParameterToPrefix |
Gets the value that indicates whether url with lang prefix should be redirected to the
culture prefix if culture prefix is enabled for current site
| |
UseDomaiRedirectForFiles |
Indicates whether domain redirect should be used for file request (getattachment, getmediafile, getmetafile, etc)
| |
UseLiveURLForEditing |
If true, the editing and preview mode uses the same URL as the live site
|
See Also