As Reuben said - you will be far better off with a Web Server based redirect.
This way your application will not get called at all.
On Monday, 20 January 2014 23:49:09 UTC+2, gonzela2006 wrote:
-- This way your application will not get called at all.
On Monday, 20 January 2014 23:49:09 UTC+2, gonzela2006 wrote:
Hello,I want to use Router::redirect to redirect to another domain and pass all parameters to this domainExample:Redirect this urlhttp://domain-one.com/posts/view/1 toI tried the followingRouter::redirect( '/*', 'http://domain-two.com/', array('persist' => true) );but it redirect to http://domain-two.com/ without parameters.Please adviseThanks
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment