I want to know if it is possible (and how if it is) to Source to a Past Directory.
like say I have Index.html, Folder1 > page1.html inside Folder 1
Can I put a link in page1.html to reach backwards to send you to Index.html??? Im so tired of setting custom URLs to link to Index.html from the base domain...
My Project is here: Codepen.io
63 Answers
use relative path in your web page ex: <a href="../file_name"></a>
To go up a folder:
<a href="../index.html">my link</a> 6In the page1.html you could use relative paths:
<html> <body> <a href="../index.html">Go up</a> </body> </html> The link references the upper level in the File System hierarchy.
Hope it helps.
2