Not a developer? Go to MovableType.com

Documentation

CanonicalURL

Used within the index template and archive template to designate the URL of the current page. This tag can be used with all archive types.

When used in an index template, the blog or website URL is returned.

When used in an archive template, the URL of the page currently being processed is returned.

Usage

<link rel="canonical" href="<$MTCanonicalURL$>">
produces
<link rel="canonical" href="http://example.com/blog/" />

Modifier

with_index=”0”
If the value is set to 1, the returned URL will use the index file name (usually index.html).
If a value other than 1 is used, the index file name will not be used.
The default value is 0.
current_mapping=”0”
If the value is set to 1, the current context URL will be returned.
If a value other than 1 is used, and if multiple archive mappings are set within the template, then the highest priority mapping URL will be returned.
The default value is 0.

This tag has been available since Mvable Type 5.2.6.

Back