Sunday, February 1, 2009

Re: URL Problem | Adding Slash at the end makes any difference ?

Your css/js/img paths need a forward slash in front of them:

/css/
/js/

Instead of:

css/
js/

I dont understand why they dont have them to begin with. You can
change it in the cake/config/paths files.

On Feb 1, 5:23 am, Sridhar Kuppalli <sridhar.kuppa...@gmail.com>
wrote:
> Hi All,
> I am new to CakePHP. In my site i am facing this problem
>
> when i sayhttp://examplesite/products everything is working fine.
> But when i add a slash at the end of url (http://examplesite/products/), the
> page is displaying without CSS.
>
> Please help me to solve this.
>
> - - - - - - - - - - - - - - -
> Thanks & Regards
> S Kuppalli N
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: