Jump to main content Jump to doc navigation

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

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • Fabian Christen
  • Dannevang Digital
  • Sepia River Studios
  • Chris Fickling
  • CrewMark
  • deJaya
  • Lefthandmedia
  • Murray Wood
  • eydolan
  • Following Sea
  • Anton Tarasov
  • Stéphane Jäggi
  • Raffy
  • Snow Creative
  • A. Moreno
  • Nick Clark
  • JT Skaggs
  • Helen
  • YJ
  • krisznet
  • Richard
  • Yanni

Budget

$301 per month—let's make that $500!

Learn more