CS Nuglet: Single User Blog Configuration for Community Server 2008

Configuring Community Server for a single blog has kicked my butt since 2003.  (I’m going back an extra year because it kicked my butt in .Text, too.)

I was configuring a new site for a single blog late last night–I thought Saturday Night Community Server geeking was a thing of the past, but I’m working on a special project I’ll tell you more about soon–and found myself scanning communityserver.com and some of my client site configs for re-enlightenment. If you search the Community Server site you’ll find the excellent Single User Blog download. This is no longer good for CS2008 or CS2008.5, but I think my simple Single User Blog approach outlined below will get the job done for you.

The first step is to create the blog.  Give it the same applicationKey as the path you want to use.  Typically that would be “blog.”

Next, create your /blog directory and copy-paste an empty default.aspx from another CS directory.

We’re going to designate the site root as our “blogs” home directory, so to support RSS subscriptions to our Single User Blog we need to copy /blogs/rss.ashx to our site root folder.

The final step is copy the following into your siteUrls_Override.config file.

<Override xpath = “/SiteUrls/locations/location[@name=’weblogs’]” mode = “change”
           name = “path” value = “/” />
<Override xpath =
           “/SiteUrls/locations/location[@name=’weblogs’]/url[@name=’webloghome’]”
           mode = “update”>
    <url name = “webloghome”  path=”/” pattern=”default.aspx”
            physicalPath=”/themes/hawaii/common/”  vanity=”{2}”
            page=”home.aspx” />

</Override>

The brilliance in this approach, if I must say so myself, is swapping out the webloghome url for the site home page. I haven’t seen this advocated anywhere (maybe because someone who knows better than me will say it’s idiotic.) Replace “hawaii” with your custom theme if applicable.

Some things do get better with age, and I think after 5 years my single user blog setup is at a place where I’m finally happy with it…until CS2009 is released and another butt kicking begins.

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.