[RESOLVED] Apache Re-Write Asolute Paths
Ok,
I've just applied apache re-write to a website.
Old url %url%/categories?cId=x
New /categories/x/product-Name/
Ok thast great but the image/JS/css paths of the files were before just relitive paths so
css/style.css
js/a.js
etc etc
What is the quickest way to make these paths absolute? So that they get picked up again.
Thanks
Re: Apache Re-Write Asolute Paths
You could make them relative to the root....
/css/style.css
/js/a.js
-tg
Re: Apache Re-Write Asolute Paths
Or you can rewrite to http://www.domain.com/css/style.css if that's what you were asking originally.
Re: Apache Re-Write Asolute Paths
Usually using an absolute path is not a good thing to do. Have you tried tgs code yet?
Re: Apache Re-Write Asolute Paths
I was being very very stupid, talk about a lapse in concentration.
Sorry to hassle you guys