Luigi Donatello Asero wrote:
> "Roy Schestowitz" <newsgroups@schestowitz.com> skrev i meddelandet
>> > 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 beginning of the example was wrong.
> the file in question should be
> "benvenuti.html"
Okay. If you had used PHP to generate pages on the fly, my advice would
possibly be different.
> What do you mean by "subsites"?
Forget about it. It was hypothetically speaking.
> I do not know yet whether I shall do it. I am starting with
> subsubdirectiories for the parts which have not been developed yet
> (and they are many!!)
> For example I started a subsubdirectory for Valle D´Aosta within the
> subdirectory "sv".
> I would like to have similare subsubdirectories for Valle D´Aosta in all
> the subdirectories
> ("sv" is a subdirectory for the language, Swedish in this case)
> But I do not know whether I shall do it for the regions which I have
> already included within "sv" for example "Toscana".
Let me give you an example which suggests that you should write paths in the
way that I recommended. Let us say that you tend to cut-and-paste pages in
order to quickly generate new ones -- that is to say, you re-use previous
code. What if you (one day) had 4 different pages under Valle D´Aosta? Let
us say, to focus on different regions. If you put these under a lower
level, e.g.
https://www.scaiecat-spa-gigi.com/it/Toscana/local_cafe/index.html
You then have to change every '../..' to '../../..'. If you have many such
links (or images), then it's a tedious task with unreliable outcome (i.e.
difficult to test).
> 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>
>
>
> "it" is short for "Italian"
> and "benvenuti" means "welcome".
> That page is supposed to be a kind of introduction explaining what the
> website is about. It is not supposed to be a subsubsubdirectory.
> There will be another page afterwards which I might call something like
> https://www.scaiecat-spa-gigi.com/en/italien-valle-daosta/valle-daosta.php
> which gives information in english about the region Valle D´Aosta and then
> I can connect this page to the version in Swedish (sv).
--
Roy S. Schestowitz
http://Schestowitz.com
|
|