|
Posted by Jim Moe on 10/08/07 17:32
On 10/08/07 02:10 am, Peter Smith wrote:
>
> I've noticed that some websites use absolute paths when linking to local
> files, e.g. '/', '/style.css, '/images/logos/header.gif' etc., which has
> the advantage that pages in subdirectories can use the same paths as
> pages in the root, but also has the disadvantage that the site has to be
> developed in the root folder (htdocs) rather than a subdirectory
> (htdocs/myproject).
>
I have found using the "absolute" method the easiest to maintain. It
makes it simple to have a local copy of the site for development then
upload the changes without having to modify the paths.
Putting multiple site in the same root is less than optimal for
management. Give each site its own root.
--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Navigation:
[Reply to this message]
|