relative links in linux
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?
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"