Not that I know about that. But I'll need sth like that, so I'm waiting for
the answer, but don't think this is possible.

Regards,
Saša Stamenković


On Thu, Jul 22, 2010 at 4:54 AM, Jean-Michel Philippon-Nadeau <
[email protected]> wrote:

> On Tue, Jul 20, 2010 at 5:51 PM, Саша Стаменковић <[email protected]>
> wrote:
> > $this->_redirect('/new-url', array('code' => 301));
>
> Thanks for the reply! Maybe this does not exist, but I am looking for
> something more automated.
>
> I now have many different routes, and adding a routine that checks if
> the request is coming from an old URL and then redirect to the new URL
> might not be the most maintainable solution.
>
> I was hoping there were a config I could add to my routes.ini to catch
> requests made with an old URL scheme and forward them to the new ones.
> Or maybe a simple regex in my bootstrap would do the trick?
>
> Any ideas?
>
> Thanks in advance,
>
> --
> Jean-Michel
>

Reply via email to