Not a developer? Go to MovableType.com

Plugin and Theme Directory

RelativeURL v1.0

By Stepan Riha
Posted April 18, 2004, in Developer.

Details

The built-in URL tags, such as MTEntryPermalink or MTArchiveLink create canonical URLs in the form of http://www.domain.com/blog/index.htm and http://www.domain.com/blog/archives/Photos.htm. Sometimes it is convenient to use relative URLs in the form of index.htm and archives/Photos.htm. This plugin contains tags and a filter that allow you to build relative URLs.

<a href="<MTRelativeURL><MTEntryPermalink></MTRelativeURL>"><MTEntryTitle></a>


Back

Leave a Comment