Hi Dave,
Thanks for the feedback and the pointer to your post! As usual, your support is much appreciated.
I implemented the following siteurls_override.config:
<?xml version="1.0" encoding="utf-8" ?>
<Overrides>
<Override xpath = "/SiteUrls/locations/location[@name='weblogs']" mode = "change" name = "path" value = "/" />
<Override xpath = "/SiteUrls/locations/location[@name='weblogs']" mode = "new" name = "physicalPath" value = "/blogs/" />
<Override xpath = "/SiteUrls/locations/location[@name='weblogs']/url[@name='webloghome']" mode = "update">
<url name = "webloghome" path="blog" pattern="default.aspx" physicalPath="/themes/default/common/" vanity="{2}" page="home.aspx" />
<url name = "feedshome" path="feeds" pattern="default.aspx" physicalPath="/themes/default/common/" vanity="{2}" page="home.aspx" />
</Override>
</Overrides>
On my dev machine, the site homepage (http://xboxbloggers.net) now works and the individual blogs (http://xboxbloggers.net/monkeynuts360 and http://xboxbloggers.net/craign) work fine but now the blogs homepage (http://xboxbloggers.net/blogs) doesn't. I get a Forum Not Found error. I guess it is trying to look for a blog with an appkey called 'blogs' which does not exist.
Any ideas?
Below is part of the CS 2.1 config file I am currently using on the site. Maybe someone can see something in the code below and can advise on what I need to change in the above siteurls_override.config.
<locations>
<!--
name: look up value
path: site location
exclude: should any path/link in this location be excluded
from Url ReWriting?
changes to exclude will require an application restart
-->
<location name="themes" path="/themes/" exclude = "true" />
<location name="message" path="/msgs/" exclude = "true" />
<location name="forums" path="/forums/" />
<location name="reader" path="/reader/" />
<location name="roller" path="/roller/" />
<location name="controlpanel" path="/controlpanel/" exclude = "true" />
<location name="user" path="/user/" exclude = "true"/
<location name="utility" path="/utility/" exclude = "true"/>
<location name="freetextbox3" path="/freetextbox3/" exclude = "true"/
<location name="search" path="/search/" exclude = "false"/>
<location name="content" path="/content/" />
<location name="ink" path="/ink/" />
<location name="members" path="/members/" physicalPath="/" />
<location name="badges" path="/badges/" physicalPath="/" />
<location name="tags" path="/tags/" physicalPath="/" />
<location name="galleries" path="/photos/" />
<location name="files" path="/files/" />
<location name="weblogshome" path="/blogs/" exclude="true" />
<location name="weblogs" path="/" physicalPath="/blogs/" />
<location name="common" path="/" />
</locations>
<!--
****************
Note, the ^ symbol is used in place of the & symbol used in
the query string the value is replace when the
SiteUrls.config file is processed.
****************
-->
<!--- ROOTS -->
<url name="home" location="common" path="" />
<url name="forumshome" location="forums" path=" default.aspx" />
<url name="webloghome" location="weblogshome" path="default.aspx" />
<url name="galleryhome" location="galleries" path=" default.aspx" />
<!-- End Roots -->
I got the CS 2.1 code in an email from another CS admin who had his site configured the same in CS 2.1 but it looks like he is also struggling to keep both the site home page as well as the blog home page in CS 2007. His site is http://dotnet.org.za if anyone is interested.
Thanks
Chris