Try our conversational search powered by Generative AI!

Enum RebaseKind

An enumeration for the different kinds of URL rebasing to perform.

Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Flags]
public enum RebaseKind

Fields

Name Description
Default

The default rebasing to use, which is ToRelative

IgnoreRootRelative

If the path is already root-relative, do nothing.

NoLeadingDotDot

If enabled together with ToRelative it will cause root-relative paths to be generated when a leading "../" should otherwise have been generated.

ToRelative

The URL should be relative (not starting with '/')

ToRootRelative

The URL should be root relative (starting with a '/')

Extension Methods