Re: [fw-general] 301 redirects after changing routes

2010-07-21 Thread Jean-Michel Philippon-Nadeau
On Tue, Jul 20, 2010 at 5:51 PM, Саша Стаменковић umpir...@gmail.com 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

Re: [fw-general] 301 redirects after changing routes

2010-07-21 Thread Саша Стаменковић
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 j...@jmpnadeau.ca wrote: On Tue, Jul 20, 2010 at 5:51 PM, Саша Стаменковић

Re: [fw-general] 301 redirects after changing routes

2010-07-21 Thread Peter Warnock
On Tue, Jul 20, 2010 at 5:51 PM, Саша Стаменковић umpir...@gmail.com wrote: $this-_redirect('/new-url', array('code' = 301)); On Wed, Jul 21, 2010 at 7:54 PM, Jean-Michel Philippon-Nadeau j...@jmpnadeau.ca wrote: I was hoping there were a config I could add to my routes.ini to catch

[fw-general] 301 redirects after changing routes

2010-07-20 Thread Jean-Michel Philippon-Nadeau
Hi List, For SEO reasons I've changed the format of my URLs from controller/action/param/value to /controller/value. I also have routes where I have many implicit parameters, like controller/value/value. I was wondering if anything in the Zend Framework could help me to create 301 redirects from

Re: [fw-general] 301 redirects after changing routes

2010-07-20 Thread Саша Стаменковић
$this-_redirect('/new-url', array('code' = 301)); Regards, Saša Stamenković On Tue, Jul 20, 2010 at 7:32 PM, Jean-Michel Philippon-Nadeau j...@jmpnadeau.ca wrote: Hi List, For SEO reasons I've changed the format of my URLs from controller/action/param/value to /controller/value. I also