Not a developer? Go to MovableType.com

Plugin and Theme Directory

Default Site Tags v1.0

By Jay Allen
Posted August 7, 2009.

Details

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.

LICENSE

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

INSTALLATION

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.

USAGE

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:

<$mt:SiteURL$>
<$mt:SiteRoot$>

Much better...

CONFIGURATION

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

SUPPORT

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

Compatibility

Movable Type versions: 4.3


Back

71 Comments

digibet

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

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

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

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.192.168.1.1

Caroline11

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

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

thank you for sharing with me. My best published and top rated juegosfriv2016.org juegosfriv2017.net friv4school2017.com on our web portal juegosfriv2018.net juegosfriv2019.com friv4school2018com.com Multiplayer games with ability to rate friv-2018.com friv-2017.com gryfriv5.com and comment.

johnb6174

johnb6174 on July 5, 2018, 11:52 p.m. Reply

Awesome blog. I enjoyed reading your articles. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work! new condo launch

johnb6174

johnb6174 on July 6, 2018, 1:56 p.m. Reply

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks… Brazilian plastic surgeon

johnb6174

johnb6174 on July 6, 2018, 3:31 p.m. Reply

Very good written article. It will be supportive to anyone who utilizes it, including me. Keep doing what you are doing – can’t wait to read more posts. Dentist 77375

johnb6174

johnb6174 on August 4, 2018, 8:11 a.m. Reply

I felt very happy while reading this site. This was really very . mexico

johnb6174

johnb6174 on August 4, 2018, 12:34 p.m. Reply

Thank you for some other informative website. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info. video

johnb6174

johnb6174 on August 4, 2018, 1:48 p.m. Reply

It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read even more things about it! spiritual awakening movies

johnb6174

johnb6174 on August 4, 2018, 4:02 p.m. Reply

i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me. lessons

johnb6174

johnb6174 on August 4, 2018, 5:12 p.m. Reply

Cool stuff you have got and you keep update all of us. un curso de milagros

john

john on August 4, 2018, 6:01 p.m. Reply

Good post but I was wondering if you could write a litter more on this subject? I’d be very thankful if you could elaborate a little bit further. Appreciate it! online

johnb6174

johnb6174 on August 5, 2018, 6:47 a.m. Reply

Hi there! Nice stuff, do keep me posted when you post again teachings 

johnb6174

johnb6174 on August 5, 2018, 8:14 a.m. Reply

Good article, but it would be better if in future you can share more about this subject. Keep posting. david hoffmeister

johnb6174

johnb6174 on August 5, 2018, 9:51 a.m. Reply

I got what you mean , thanks for posting .Woh I am happy to find this website through google. online courses

john

john on August 5, 2018, 9:52 a.m. Reply

I learn some new stuff from it too, thanks for sharing your information. online

johnb6174

johnb6174 on August 5, 2018, 11:29 a.m. Reply

Good article, but it would be better if in future you can share more about this subject. Keep posting. non duality teachers

john

john on August 5, 2018, 12:57 p.m. Reply

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. teacher training

johnb6174

johnb6174 on August 5, 2018, 4:53 p.m. Reply

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. מנעולן בקריות

johnb6174

johnb6174 on August 12, 2018, 10:27 a.m. Reply

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me. Onlinr Quran lessons

johnb6174

johnb6174 on August 13, 2018, 1:55 p.m. Reply

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it’s nice to find a website that details so much information about different artists. thealmostdone

john

john on August 13, 2018, 3:06 p.m. Reply

Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job. techinexpert.com

johnb6174

johnb6174 on August 20, 2018, 9:48 a.m. Reply

If more people that write articles really concerned themselves with writing great content like you, more readers would be interested in their writings. Thank you for caring about your content. search engine marketing

johnb6174

johnb6174 on August 20, 2018, 11:35 p.m. Reply

Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can’t afford to not go through this valuable information whenever I surf the internet! havaianas

johnb6174

johnb6174 on August 21, 2018, 12:17 a.m. Reply

Great Article it its really informative and innovative keep us posted with new updates. its was really valuable. thanks a lot. Healing Empire

johnb6174

johnb6174 on August 21, 2018, 2:05 p.m. Reply

The information you have posted is very useful. The sites you have referred was good. Thanks for sharing… Just Cannabis

johnb6174

johnb6174 on August 23, 2018, 8:05 p.m. Reply

I really enjoyed reading this post, big fan. Keep up the good work and please tell me when can you publish more articles or where can I read more on the subject? jual mobil bekas

johnb6174

johnb6174 on August 24, 2018, 2:16 p.m. Reply

If you set out to make me think today; mission accomplished! I really like your writing style and how you express your ideas. Thank you. https://www.mosscolella.com/

johnb6174

johnb6174 on August 26, 2018, 8:31 a.m. Reply

Nice to be visiting your blog again, it has been months for me. Well this article that i’ve been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. Carpet Cleaning

Peteseo

Peteseo on September 25, 2018, 8:19 p.m. Reply

I discovered your website website on yahoo and check several of your early posts. Keep the top notch operate. I recently additional encourage RSS feed to my MSN News Reader. Seeking toward reading far more from you finding out at a later date!… Calvert

Peteseo

Peteseo on September 25, 2018, 8:22 p.m. Reply

I discovered your website website on yahoo and check several of your early posts. Keep the top notch operate. Calvert

Rihankhan

Rihankhan on October 4, 2018, 1:56 p.m. Reply

Really one of the best plugins for custom websites. Works as expected, allowing you to add a custom css file without going into the template.

johnb6174

johnb6174 on October 8, 2018, 11:22 a.m. Reply

Interesting and amazing how your post is! It Is Useful and helpful for me That I like it very much, and I am looking forward to Hearing from your next.. inground pools

johnb6174

johnb6174 on October 11, 2018, 12:22 a.m. Reply

All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks the jovell

Peteseo

Peteseo on October 12, 2018, 11:03 p.m. Reply

Simply respecting your work and considering how you dealt with this web journal so well. It’s remarkable to the point that I can’t stand to not experience this significant data at whatever point I surf the web! Crosby

johnb6174

johnb6174 on October 12, 2018, 11:34 p.m. Reply

Your website is really cool and this is a great inspiring article. Juniper hill

johnb6174

johnb6174 on October 13, 2018, 4:41 p.m. Reply

I was looking at some of your posts on this website and I conceive this web site is really instructive! Keep putting up.. The Woodleigh Residences

Peteseo

Peteseo on October 27, 2018, 12:08 p.m. Reply

I’m happy I discovered this site, I couldn’t discover any learning on this matter Magnus

johnb6174

johnb6174 on October 19, 2018, 1:50 p.m. Reply

The post is written in very a good manner and it contains many useful information for me. Megabucks Ranch

johnb6174

johnb6174 on October 19, 2018, 1:58 p.m. Reply

I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.. real estate blog

johnb6174

johnb6174 on October 21, 2018, 2:01 p.m. Reply

This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles. Keep up the good work!.

Enjoy Mexico Villa Rentals

johnb6174

johnb6174 on October 21, 2018, 4:33 p.m. Reply

This is a smart blog. I mean it. You have so much knowledge about this issue, and so much passion. You also know how to make people rally behind it, obviously from the responses. Enjoy Mexico top desinations

johnb6174

johnb6174 on October 22, 2018, 12:50 p.m. Reply

Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It ‘s really very nice and Useful post.Thanks Enjoy Mexico Villa Rentals in Cabo San Lucas

johnb6174

johnb6174 on October 22, 2018, 3:05 p.m. Reply

This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article.

Enjoy Mexico Villa Rentals in Punta Mita

johnb6174

johnb6174 on October 22, 2018, 4:56 p.m. Reply

This is highly information, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. Inflatable Event Professionals

johnb6174

johnb6174 on October 23, 2018, 1:13 p.m. Reply

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. nirvanaasianmassage.com

Peteseo

Peteseo on October 27, 2018, 12:07 p.m. Reply

I’m happy I discovered this site, I couldn’t discover any learning on this matter earlier to. Magnus

johnb6174

johnb6174 on October 28, 2018, 3:00 p.m. Reply

I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in you post. Thanks for sharing. gamingrig

johnb6174

johnb6174 on October 28, 2018, 3:06 p.m. Reply

I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article. gamingrig

johnb6174

johnb6174 on October 29, 2018, 11:30 a.m. Reply

Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I’ll be sure to check back again real soon. WDF IDF

johnb6174

johnb6174 on October 31, 2018, 12:06 p.m. Reply

This is very educational content and written well for a change. It’s nice to see that some people still understand how to write a quality post! Poster Holder

johnb6174

johnb6174 on November 1, 2018, 2:35 p.m. Reply

Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. Are you aware of any other websites on this subject. SEO Agentur Ruhrgebiet

johnb6174

johnb6174 on November 8, 2018, 10:48 a.m. Reply

I have recently started a blog, the info you provide on this site has helped me greatly. Thanks for all of your time & work. Umzugsunternehmen

johnb6174

johnb6174 on November 14, 2018, 2:09 p.m. Reply

useful information on topics that plenty are interested on for this wonderful post.Admiring the time and effort you put into your b!.. pasang cctv jakarta

mishirajput

mishirajput on November 18, 2018, 9:00 a.m. Reply

Thanks for sharing the post.. parents are worlds best person in each lives of individual..they need or must succeed to sustain needs of the family. 안전놀이터">https://www.jikimwin.com”>안전놀이터

johnb6174

johnb6174 on November 22, 2018, 4:27 p.m. Reply

This article gives the light in which we can observe the reality. This is very nice one and gives indepth information. Thanks for this nice article. Umzugsunternehmen

johnb6174

johnb6174 on November 29, 2018, 1:39 p.m. Reply

It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing. awnings

johnb6174

johnb6174 on December 4, 2018, 12:11 p.m. Reply

You have a good point here!I totally agree with what you have said!!Thanks for sharing your views…hope more people will read this article!!! click here

johnb6174

johnb6174 on December 4, 2018, 1:13 p.m. Reply

I high appreciate this post. It’s hard to find the good from the bad sometimes, but I think you’ve nailed it! would you mind updating your blog with more information? riverfront residences condo

johnb6174

johnb6174 on December 4, 2018, 3:19 p.m. Reply

Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it’s nice to find a website that details so much information about different artists. uptown at farrer

johnb6174

johnb6174 on December 4, 2018, 5:51 p.m. Reply

This blog is so nice to me. I will keep on coming here again and again. Visit my link as well.. affinity at serangoon price

johnb6174

johnb6174 on December 5, 2018, 1:29 p.m. Reply

Most of the time I don’t make comments on websites, but I’d like to say that this article really forced me to do so. Really nice post! Whistler grand condo

johnb6174

johnb6174 on December 5, 2018, 4:00 p.m. Reply

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information… mayfair modern condo

johnb6174

johnb6174 on December 11, 2018, 10:32 a.m. Reply

It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing. Kinetech SEO

johnb6174

johnb6174 on December 11, 2018, 12:52 p.m. Reply

This is my first time i visit here. I found so many interesting stuff in your blog especia best bass headphones

johnb6174

johnb6174 on December 11, 2018, 2:52 p.m. Reply

Thank you for the update, very nice site.. Floor standing sign

johnb6174

johnb6174 on December 12, 2018, 8:58 a.m. Reply

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. Thanks… A Board

Leave a Comment