To rewrite all *.htm to *.html just use: ^/(.*)\.htm$ => /$1.html
Greetings, Jędrzej Nowak On Mon, Oct 31, 2011 at 6:53 PM, Etienne Desautels <[email protected]> wrote: > > Hi, > > How I'm supposed to do simple page redirections in Cherokee. > > For example if I have some old pages/URL that no longer exits and I want the > redirect theses URL to other existing URL like: > > /home.htm -> /index.html > /about_us.htm -> about.html > ... > > I have like 20 or more redirections like this to do. The only way I found > right now is to create a new Regex Rule for each URL with a redirection Regex > Handler. But I found this solution a bit heavy. > > Thanks > > Etienne > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
