# Redirecting in Mongrel

**URL:** <https://www.ruby-forum.com/t/redirecting-in-mongrel/108639>\
**Category:** Rails\
**Created:** [July 5, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/redirecting-in-mongrel/108639 "2007-07-05T15:39:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maurice-gladwell](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@maurice-gladwell](https://www.ruby-forum.com/u/maurice-gladwell)\
**Post date:** [July 5, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/redirecting-in-mongrel/108639/1 "2007-07-05T15:39:21Z")

</div>

I’m setting up a website with Mongrel. One of the requirements is for  
URLs to be redirected to different files than they usually would,  
e.g.:

[http://example.com/users/show/123-king-kong](http://example.com/users/show/123-king-kong)

Would actually look for the cached file:

`public/users/show/123.html`

And not:

`public/users/show/123-king-kong.html`

as it normally would.

How would I set up such redirection with Mongrel?

Thanks in advance,  
Maurice B. Gladwell
