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

Re: Subdirectories

Luigi Donatello Asero wrote:

> 
> "Roy Schestowitz" <newsgroups@schestowitz.com> skrev i meddelandet
> d2svbl$2pst$1@godfrey.mcc.ac.uk">news:d2svbl$2pst$1@godfrey.mcc.ac.uk...
>> Lauri Raittila wrote:
>>
>> > in alt.html, Roy Schestowitz wrote:
>> >> '/index.htm' will always work provided that index remains immovable.
>> >
>> > But will break when changing it to index.php. Just "/" is better. Also
>> > because it will result same URL as main page...
>>
>> Good point. You were being quite strict with my suggestion. I think it
>> was simpler to convince someone to change "../../index.htm" to
>> "/index.htm" than to suggest something 'odd' like "/". But you're right
>> nonetheless.
>>
>> Roy
> 
> I do not understand yet how you want to link a page which is located in a
> subsubdirectory to the first page by writing
> "/index.htm" or "/"
> Do you want the index to be at a level which is as deep as the
> subsubdirectories themselves?

No, I think there's a misconception here.

If I were in http://mysite.com/my_dir/my_dir2

"./" would refer to:

http://mysite.com/my_dir/my_dir2

Whereas "/" would refer to:

http://mysite.com/

...and that's precisely what you want...

Roy

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

  • Follow-Ups:
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index