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