Linking

Status
Not open for further replies.

HabboHaze

New Member
Messages
31
Reaction score
0
Points
0
Ok, let's say I have this page (a) in a foler that's in another folder and so on. But then I have a page (b) in the main folder. I want to access this page (b) on page (a) without typing in the full URL. How do I do this?
 

Micro

Retired staff <i> (11-12-2008)</I>
Messages
1,301
Reaction score
0
Points
36
if you mean one page is in like:

/sub/sub1/sub2/page.html

and the page you want to go to is in /page2.html

use /page2.html as the href attribute in a link.

If its the other way round, page2 to page.html then use sub/sub1/sub2/page.html as the href attribute
 

Bonekhan

New Member
Messages
226
Reaction score
0
Points
0
I thought is was something like this:

yourwebsite.com/pub/sub/sub2/yourpage.html to yourwebsite.com/pub/yourotherpage.html

You would want to, at yourpage.html, creat a link that has the following: ../yourotherpage.html (each . goes down a directory?)

Correct me if I'm wrong, but I believe this is how my HTML editor parses links...
 
Status
Not open for further replies.
Top