Jon Phillips wrote:
On Thu, 2005-03-10 at 20:02 +0000, Jonathan Leighton wrote:
I've been working on a prototype of the Inkscape news using WordPress, but am having trouble as URIs for archives come out like "/archives/2005/01/". Due to the relative paths used on the website, the browser then can't locate the stylesheets, and links point to the wrong place on those pages.
So... does it matter if I change to absolute paths? (Which, IMHO, are better anyway)
Well, before you do any changes, why don't you show us all what you have done so far.
Ok, will do. Give me a few hours to smooth the edges and I'll upload it to my server.
Absolute paths make testing the site difficult on other peoples machines. Also, then the site is not very portable.
Yes, that's the reason I asked. Personally I set up a new name-based Virtual Host for every site I do, but I guess not everyone can be bothered or knows how.
One of the reasons I'm not totally sold on CMS' or blog management systems is that aforementioned do these types of hard-path/absolute path which then won't allow developers to test wherever they like on their own machine, and then have dependency-laden code break without installing X, Y, and Z. However, maybe your work will prove me wrong ;)
Yeah, I will ;-). WordPress doesn't use absolute paths at all -- I'm not sure whether I like or hate that, but I guess if they ever brought them in then they'd have to make it an option otherwise it would cause some people a lot of trouble.