Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Subdirectories

  • Subject: Re: Subdirectories
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Sun, 03 Apr 2005 03:10:09 +0100
  • Newsgroups: alt.html
  • References: <zTG3e.21129$d5.156761@newsb.telia.net> <d2ned2$2csk$1@godfrey.mcc.ac.uk> <P7H3e.133937$dP1.471104@newsc.telia.net> <d2nfhn$2d6m$1@godfrey.mcc.ac.uk> <pJH3e.21130$d5.156728@newsb.telia.net>
  • User-agent: KNode/0.7.2
Luigi Donatello Asero wrote:

[snip]

> I have for example a file
> valle-daosta.php
> which has the location
> 
> https://www.scaiecat-spa-gigi.com/sv/italien-valle-daosta/valle-daosta.php
> that means that it has been collocated in the subsubdirectory
> "italien-valle-daosta" which is within the
> subdirectory "sv" which lies in the directory www.

www is probably just a pointer to public_html, but let's not be pedantic.

> Let´s say, now that I want to link that file to another one called
> "benvenuti.php"
>  having the
> following location
> 
> https://www.scaiecat-spa-gigi.com/it/benvenuti.html

Do you mean https://www.scaiecat-spa-gigi.com/it/benvenuti.php ? I am not
making a correction, I am asking...

> The file "benvenuti lies in a subdirectory which is not the same
> subdirectory where the subsubdirectory "valle-daosta" lies.
> Then  I would
> write
> <a  href="../../it/benvenuti.html">Italiano</a>
> on the file valle-daosta.php to link it to
> https://www.scaiecat-spa-gigi.com/it/benvenuti.html
> 
> How would you do?

It depends on how your site is expected to develop. If you expect to graft
your entire site into a deeper level and have another site live to its
side, stick to what you have. I should mention that subsites and
re-directions mean that it's unlikely to ever be necessary.

I prefer (and also consider to be more suitable):

<a href="/it/benvenuti.html">Italiano</a>

-- 
Roy S. Schestowitz
http://Schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index