URLRewriter Class |
Namespace: CMS.URLRewritingEngine
public class URLRewriter
The URLRewriter type exposes the following members.
Name | Description | |
---|---|---|
URLRewriter |
Name | Description | |
---|---|---|
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.
|
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.
| |
ProviderObject |
Provider object.
| |
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
|
Name | Description | |
---|---|---|
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.
| |
CompleteRequestInternal |
Completes request
| |
DefaultPageBehavior |
Gets the default page behavior for given site
| |
FileDomainRedirect |
Redirects files to proper domain if enabled
| |
GetEditingUrl |
Gets the preview page URL
| |
GetGoogleSiteMapPath |
Returns sitemap node alias path for specific site
| |
GetGoogleSiteMapURL |
Returns sitemap URL for specific site
| |
GetLiveUrl |
Gets the live page URL.
| |
GetRelativePathFromUrl |
Returns relative path from url.
Example: http://www.domain.com/mypage.aspx => /mypage.aspx
| |
HandleRewriteRedirect |
Handles the rewrite redirect of the request
| |
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 A/B test settings.
| |
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
| |
RedirectInternal |
Redirects the response using specified URL (302 HTTP status code).
| |
RedirectPermanentInternal |
Redirects the response using specified URL using permanent redirection using 301.
| |
RedirectToMainUrl |
Redirects the page to its main URL.
| |
RewritePath |
Rewrites the path by using the given file path and query string.
| |
RewritePathInternal(String) |
Rewrites the URL by using the given path
| |
RewritePathInternal(String, Boolean) |
Rewrites the URL by using the given path
| |
RewritePathWithoutClearCachedUrlValuesInternal |
Rewrites the URL by using the given path, path information and query string information,
without clearing the cached values related to URL of the request
| |
RewriteUrl(RequestStatusEnum, String, ExcludedSystemEnum) |
Rewrites the URL and performs all operations required after URL rewriting.
| |
RewriteUrl(String, ExcludedSystemEnum, SiteNameOnDemand, ViewModeOnDemand) |
Applies rewriting to actual URL.
| |
SendOutputFromCache |
Attempts to send the output of the page from the cache.
| |
TransferPageNotFoundInternal |
Transfer page not found request
| |
UseDomainForCulture |
Gets the value that indicates whether domain should be used for culture
| |
ValidateCulture |
Validates the given culture and modifies it with a valid culture when the given culture was not valid.
If not valid, it then chooses the site's default culture and sets it as a preferred culture.
| |
ValidateLicenseInternal |
Checks whether a license for the given URL and domain exists and is valid.
|