Monday, February 2, 2009

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

Hey Thanks Miles.

It has solved my issue. 
One more basic problem I struct in question is I have a products/view/ page ( Products controller and view method )


So in this page what should be the href value for any other products
      http://xyz.com/products/view/marineProd

On Mon, Feb 2, 2009 at 3:06 AM, Miles J <mileswjohnson@gmail.com> wrote:

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: