I use this for router
Router::connect('/:language/:controller/:action/*',array(),array
('language'=>'[a-z]{3}'));
and when I click on this link
$html->link('Greek',array('language'=>'gre'));
The returned URL is
http://www.mydomain.ext/controller/action
instead of
http://www.mydomain.ext/gre/controller/action
Why that ? ?
Also when I move my mouse over the link the status bar has this URL
http://www.mydomain.ext/gre/controller/action
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---