Believe me I did, but in this case I didn't find a solution which
worked for my need.
On 19 Jan., 15:44, Thiago Belem wrote:
> Check the Router class on the documentation.
>
> --
> Thiago Belem,
> Desenvolvedor WEB
>
> Enviado do meu Android
> Em 19/01/2012 11:28, "heohni"
> escreveu:
>
>
>
>
>
Check the Router class on the documentation.
--
Thiago Belem,
Desenvolvedor WEB
Enviado do meu Android
Em 19/01/2012 11:28, "heohni"
escreveu:
> Hi,
>
> from a relaunch I have many old links in google which all land on a
> 404 page and I would like to redirect them to the new homepage. What
> d
Hi,
from a relaunch I have many old links in google which all land on a
404 page and I would like to redirect them to the new homepage. What
do I have to do when I want to catch all of these links with this file
name:
/search.php?anylongquerystring
to redirect it to the homepage?
I tried this:
No there is no reason - I didn't knew about it.
So if I understand I can do something like that
Configure::write('Routing.prefixes', array('admin'));
Router::connect('/{$prefix}/:controller/:action', array('controller'
=>
"{$prefix}".:controller));
right?
I am new to CakePHP but I've got expe
Is there a reason you aren't using the prefix_routing functionality?
http://book.cakephp.org/view/950/Prefix-Routing (1.3)
http://book.cakephp.org/2.0/en/development/routing.html#prefix-routing (2.0)
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check ou
Hi!
I am preparing some application with expanded rights system. And I
have a problem with routing - I would like to know if it's possible to
make something like this
Router::connect('/admin/:controller/:action', array('controller' =>
'adm'.:controller));
I need to add this adm or mod or usr to
2 AM, Bennet Jeutter
> wrote:
>
>
>
> > Hallo everyone,
>
> > I got a question about routing:
> > I'm developing a project, which is based on cities.
> > So i want to have URLs like
> > domain.com/{cityname}/controller/action<http://domain.com/%7Bci
Router::connect('/:alias/:controller/:action/*',
array(),
array(
'persist' => array('alias'),
));
On Tue, May 25, 2010 at 10:32 AM, Bennet Jeutter
wrote:
> Hallo everyone,
>
> I got a question about routing:
>
Hallo everyone,
I got a question about routing:
I'm developing a project, which is based on cities.
So i want to have URLs like domain.com/{cityname}/controller/action.
Example: domain.com/frankfurt/people/view/3
The Controller and Actions should be for alle Cities the same, I would
catch