NYCPHP Meetup

NYPHP.org

[nycphp-talk] One more question about Friendly URLS

Chris Shiflett shiflett at php.net
Thu Mar 8 12:35:36 EST 2007


Kenneth Downs wrote:
> It seems that relative links to CSS and JS all suddenly break.
> So if you have:
> 
> www.example.com/friendly/varname/varvalue/varname/varvalue
> 
> and you have a link to "css/main.css", then it will not be able
> to find the style sheet anymore.

You can still use relative URLs. Just use an absolute path:

/css/main.css

Hope that helps.

Chris

-- 
Chris Shiflett
http://shiflett.org/



More information about the talk mailing list