Jump to main content Jump to doc navigation

link_tag_scheme

Other versions: 2.x (current) — Other languages: EN RU — Found a problem? Please edit this page or report an issue.

Name: URL Generation Scheme Type: textfield Default: -1 Available In: 2.1+

URL generation scheme for tag [[~id]].

The available schemes are:

Name Description
-1 (default) URL is relative to site_url
0 see http
1 see https
full Renders the link as an absolute URL, prepended with site_url
abs Renders the link as an absolute URL, prepended with base_url
http Renders the link as an absolute URL, forced to http scheme
https Renders the link as an absolute URL, force to https scheme

You can override the scheme in each link by passing &scheme in your links:

[[~123? &scheme=`full`]]