Navigation tag and the home page / root

I have a site I’m working on with four main sections. The client
wants ‘section one’ to be the ‘home page’.
The problem: that makes ‘section one’ the parent of every page on the
site, and causes that tab to be always highlighted.

Has anyone else come up with a solution to this problem?

I’m wondering if mod_rewrite is the only option…


I have exactly the same problem with a site i’m working on.

I’m thinking on tweaking config/routes.rb, but i don’t know if this
work well with Radiant. Any experiences with this?


You don’t have to use the <r:navigation> tag for everything. Instead
you could do something like this:

<a href="/" <r:if_url matches="^/$">class=“active”</r:if_url>>Home

That will highlight the link with the active class only if the homepage
is shown.