Router::connect('/flower.html', array( 'controller'=>'categories',
'action' => 'categoryindex', 70));
Try now http://www.example.com/flower.html

On Mar 3, 3:54 pm, Sensible <[email protected]> wrote:
> Hi,
>
> I want help on routing.
>
> I want my url with .html extension. Is it possible.
>
> Currently my url :http://www.example.com/Categories/categoryindex/70
>
> Controller:Categories
> Action: categoryindex
> category_id: 70 (Which is flower)
>
> But i want my url to be look like:
>
> http://www.example.com/flower.html
>
> or any other possible solution with flower.html
>
> Thanks In Advance.
> Waiting for reply.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to