Learn About Beer at cf.Objective() Pecha Kucha BOF

If you're attending cf.Objective() 2010, you might be interested in a Birds of a Feather (BOF) on Friday, April 23 at 8:00 P.M. Bob Silverberg will be hosting a Pecha Kucha Night which will consist of around nine or so presentations. Each presentation is limited to 6 minutes 40 seconds and will consist of 20 slides, with each slide shown for 20 seconds.

This should be a fun BOF and will definitely cover a varying degree of subject matter. To the best of my knowledge though, most of the presentations will be about ColdFusion and other 'techie' topics ... which is why I've chosen to break things up a bit and give a presentation on something else I enjoy: beer.

That's right, I said it (or typed it actually), I'll be giving a presentation on beer. I'm still putting it all together at the moment, but I'll be attempting to cover at least some of the major milestones in the wonderful history of beer as well as a few other bits of information. It's amazing how quickly 6 minutes and 40 seconds passes by, so this will definitely be a challenge for me.

So if you're able to, please stop by and enjoy the fun. After it's all over, maybe you'll consider joining me for a pint!

How to Remove WWW from the URL in Mura CMS with ColdFusion

Recently, a Mura CMS user asked how to remove the 'www' from the URL. So I thought I would whip up a quick post on how to do it.

  1. Login to the Admin and go to your 'Site Settings' (top-right on yellow toolbar).
  2. Select the site you wish to enforce this rule on.
  3. On the 'Basic' tab, make sure you have 'yourdomain.com' in the 'Domain' field.
  4. Also, make sure you list 'www.yourdomain.com' in the 'Domain Alias List' text area.
  5. Click 'Update'
  6. Now we'll edit a file that would probably be included on each page in your site such as \{siteid}\includes\themes\merced\templates\inc\html_head.cfm
  7. Copy and paste the code below into the top of the file that is located on each page:


<cfscript>
    myDomain = "yourPreferredDomain.com";
    domainIsCorrect = true;
    if ( getPageContext().getRequest().getServerName() neq myDomain ) {
        domainIsCorrect = false;
        urlstr = "http://" & myDomain & getPageContext().getRequest().getRequestURI();
        if ( len(trim(getPageContext().getRequest().getQueryString())) ) {
            urlstr = urlstr & "
?" & getPageContext().getRequest().getQueryString();
        };
    };
</cfscript>
<cfif not domainIsCorrect><cflocation url="
#urlstr#" addtoken="false" statuscode="301" /></cfif>

That's it! Enjoy.

© 2026, Stephen J. Withington, Jr.  |  Hosted by Hostek.com

Creative Commons License   |   This work is licensed under a Creative Commons Attribution 3.0 Unported License.