cass27 — 2010-01-13T06:36:24-05:00 — #1
I have recently started using linux and when i am using links I want to relative rather than absolute links.
I am linking from my index page. which is here:
public_html > index.php
the file i want to link to is here:
public_html > hostpay > design.html
Can anyone tell me what the relative link would be?
gavco98uk — 2010-01-13T07:30:37-05:00 — #2
When linking to a file, you specify a URL path, not a file path. Therefore the operating system used is irrelevent, it is the same on windows, linux or mac.
The correct link would be "hostpay/design.html"