# Redirecting from index page

**URL:** <https://www.ruby-forum.com/t/redirecting-from-index-page/124468>\
**Category:** Radiant CMS\
**Created:** [December 29, 2007, 12:12am UTC](https://www.ruby-forum.com/t/redirecting-from-index-page/124468 "2007-12-29T00:12:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matias\_Pelenur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@Matias\_Pelenur](https://www.ruby-forum.com/u/Matias_Pelenur)\
**Post date:** [December 29, 2007, 12:12am UTC](https://www.ruby-forum.com/t/redirecting-from-index-page/124468/1 "2007-12-29T00:12:58Z")

</div>

Hi there,  
I’ve just started using Radiant for a new site ([fortgreene.org](http://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

---

<div class="post-metadata">

**Author:** ![Matias\_Pelenur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@Matias\_Pelenur](https://www.ruby-forum.com/u/Matias_Pelenur)\
**Post date:** [December 29, 2007, 12:27am UTC](https://www.ruby-forum.com/t/redirecting-from-index-page/124468/2 "2007-12-29T00:27:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Matias\_Pelenur](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@Matias\_Pelenur](https://www.ruby-forum.com/u/Matias_Pelenur)\
**Post date:** [December 29, 2007, 8:07am UTC](https://www.ruby-forum.com/t/redirecting-from-index-page/124468/3 "2007-12-29T08:07:47Z")

</div>

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
