Saturday, February 28, 2009

SOLVED!!!!!!!!!! problem with url rewrite and folders

I found out what the problem was... The problem was that, the url represented paths or folder looking path and so I had to reflect that with the folders I was using: css and js.

Depending on how many front slashed '/' are used from the root file, the up folder code had to be used for the folders being used. Example: if your url is: www.mysite.com, all the folders will be read normally but if the url changes to: www.mysite.com/about_us/, then the folders have to use '../' to reflect the change in the url.

That was the problem and now it works fine. Thanks to my co-worker, Peter Scott.

No comments: