Redirecting from index page

Hi there,
I’ve just started using Radiant for a new site (fortgreene.org) and like
it
a lot so far.

I’d like to add a rudimentary blog to the site using Radiant. I saw that
there’s the Archive page type, and my plan was to create a new child of
the
Home page using a different layout, and then add one child for each blog
post to that page.

Is there an easy way to redirect from the Home page to this blog archive
page? I couldn’t find anything other than the language redirect
extension. I
was going to write a really simple custom tag to do so, but perhaps I’m
missing something obvious.

Thanks,
matias

Why not make the blog page your root page? Your other alternative is to
use the content of the blog page as the content of your homepage, like
so:

<r:find url="/blog"><r:content /></r:find>

There are ways to make a page render a redirect, and I’m working on one
right now, but you might not want that for the root of your site, people
will get annoyed and you might get downgraded by search engines.

Sean

Inserting the content via <r:find /> is a good idea, I’ll try that.

The reason I don’t want the blog to be the root page is that I have
other
child pages of the root page, and I want to be able to easily add posts
to
just the blog page without worrying about filtering out all the other
pages.

Thanks for the reply,
matias

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs