I have a good one this time!

I want to make a link to take me to another page that is located one level up

ex..
i am here
www.page.com/page1/page2/index

and want to go here
www.page.com/page1/index

with out having the www.page.com in the link.

is this posible?

Recommended Answers

All 2 Replies

<a href='..'>Go up one level</a>
<a href='.'>reload index on this level</a>
<a href='../adjacentfolder/'>Go across to another folder at the same level (up one then down)</a>
<a href='./folder'>Go down one level</a>
<a href='../..'>Go up two levels</a>
<a href='/'>Go up to html_root</a>
<a href='/folder'>Go to folder off the html_root</a>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.