Do you mean redirect? _forward doesn't cause a redirect, it just dispatches a new request internally.
For redirects try this from within your controller: return $this->_helper->redirector->gotoRoute($params, [$module,] $route); It uses the same arguments as the "url" view helper. http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.redirector -- Hector On Wed, Jul 7, 2010 at 1:59 PM, debussy007 <[email protected]> wrote: > > Hi, > > In my controller I would like to forward the user using my custom URLs. > Usually I forward like the following: > return $this->_forward('myAction', 'myController', 'myModule', > $myParamsArray); > > The problem is that the url will show something like > http://example.com/myModule/myController/myAction/... > I would like to forward using custom urls. > > Thank you for any help ! > -- > View this message in context: > http://zend-framework-community.634137.n4.nabble.com/Forward-to-custom-url-tp2281504p2281504.html > Sent from the Zend Framework mailing list archive at Nabble.com. >
