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
|
|