Not a developer? Go to

Plugin and Theme Directory

Default Site Tags v1.0

By Jay Allen
Posted August 7, 2009.


This is a very simple plugin which adds two template tags:

  • mt:SiteURL
  • `mt:SiteRoot``

These two tags correspond to the DefaultSiteURL and DefaultSiteRoot config directive settings in mt-config.cgi.


This program is distributed under the terms of the GNU General Public License, version 2.


Simply drop the directory plugins/DefaultSiteTags contained in this archive into your MT_HOME/plugins directory.

If you are running under FastCGI or other persistent environment, you will need to restart your webserver in order to activate the plugin in your Movable Type installation.


In a typical setup when one blog publishes to the DefaultSiteRoot and others publish in subdirectories off of the root, mt:BlogURL is not predictable in global templates. If all blogs share CSS, Javascript, a site images directory, etc, and you don't want to hardcode URLs, these two configuration directives are your salvation.

However, the only way to access these values is via the much longer:

<$mt:Var name="config.DefaultSiteURL"$>
<$mt:Var name="config.DefaultSiteRoot"$>

Ick. Instead, we use:


Much better...


The tags output the values of the DefaultSiteURL and DefaultSiteRoot configuration directives. If these are not set, the tags output nothing.


If you have additional feature requests or require support for an issue with this plugin, please contact the author.


Movable Type versions: 4.3




digibet on April 28, 2016, 3:54 p.m. Reply

Very simple to install. Thanks

Jack from Casinohuone - 32red - Favbet - nesine - Tivoli casino - bovada

Shanon Fields

Shanon Fields on May 9, 2017, 3:53 p.m. Reply

Hi, I read that you said that this plugin was easy to install. When I try to install it I get an error and it tells me that it failed to install the plugin. I am new to Movable Type and would like to use it for my Rose site. If you can tell me what I am doing wrong that would be wonderful.


digibet on April 28, 2016, 3:55 p.m. Reply

Very simple to install. Thanks

Jack from Casinohuone - 32red - Favbet - nesine - Tivoli casino - bovada


christine on July 5, 2016, 7:44 a.m. Reply

I just want to say thanks for your wonderful post, it is contain a lot of knowledge and information that i needed right now. Thanks! Y8 Gold


newstart028 on July 6, 2016, 6:59 a.m. Reply

“Personal” elements include hand-written search, headings and comment form, and post-it note styled sidebar and date tags.


Caroline11 on March 18, 2018, 8:12 a.m. Reply

This website contain good collection of plugins and software which we use for the sake of internet purpose. As we know that all development language use in different level of development. However, I need ca.edubirdie but there is good piece of content have this website regarding plugins.


Friv on May 27, 2018, 7:58 p.m. Reply

thank you for sharing with me. My best published and top rated on our web portal Multiplayer games with ability to rate and comment.

Leave a Comment