link_tag_scheme
Last updated Apr 29th, 2019 | Page history | Improve this page | 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`]]
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$311 per month—let's make that $500!
Learn more