URL Type

The URL Type setting behaves like all other access settings and can be set for a page, folder, or recursively for a whole folder structure. However, if a page has a URL Type value of "inherit," the value stored in the site record is used.

The value of URL Type is used by two things: Dependency Manager and the WYSIWYG Editor. While the WYSIWYG can use all three possible values, Dependency Manager does not output page relative URLs (it will output root relative URLs if page relative is selected). Second, when creating a new file, the value is copied from the enclosing folder. If the value of the folder is "inherit," the value of the new file will be "inherit."

Manually inserted links in this context can be internal (i.e., links that begin with the site's HTTP Root value) and external (i.e., sites that do not). In the case of internal links, the WYSIWYG honors the access setting and converts the link to whatever the administrator has set the URL Type to. In the case of external links, the WYSIWYG Editor does not alter the link.

Internal links are converted to the appropriate URL type specified at the page level, or if the URL type is set to inherit from site settings, then that value is used.

 

URL Type

 There are three URL Type settings that can be specified:

  • Absolute: An absolute URL identifies a resource independently of its context. Absolute URLs typically take the form http://www.domain.com/directory/page.html.
  • Root-Relative: This specifies a URL relative to the root website, the www.domain.com. A root-relative URL takes the form of /directory/page.html, and simply appends itself onto the root domain name.
  • Page-Relative: A page-relative URL performs the same action as a root-relative URL, but this time in relation to the page that the URL is on. They can be used to move up directories from the page by adding "../" to the front of the URL.