Hyperlink Prolbem

G

Guest

Hi,

I an working on a fairly large website and am having problems with hyperlinks. Here are some basic questions which I have:

1) How can I create a hyperlink relative to the site? For example I want to get to the page: http://www.website.co.uk/subdir/mypage.htm from any location within the site.

For this one I have tried adding ../ to the beginning, but that only moves back one directory. Sometimes I find myself using ../../ or even more. This is causing other problems though, I need a way of getting a hyperlink relative to the main URL in one go.

2) How can I create a hyperlink relative to the current page?

Any help would be greatly appreciated!

Regards,
Lea Hayes
 
S

Steve Easton

A relative hyperlink is:
href="subdir/mypage.htm"
an absolute hyperlink is:
href="http://www.website.co.uk/subdir/mypage.htm "

To insert / create a relative hyperlink to mypage.htm
with your web open, highlight the text or image that is
to be your "link" and then click the hyperlink Icon,
browse to the actual page and select it and click OK or Apply.
FrontPage will calculate the correct relative path for the link to the page.

hth
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer

Lea Hayes said:
Hi,

I an working on a fairly large website and am having problems with
hyperlinks. Here are some basic questions which I have:
1) How can I create a hyperlink relative to the site? For example I want
to get to the page: http://www.website.co.uk/subdir/mypage.htm from any
location within the site.
For this one I have tried adding ../ to the beginning, but that only moves
back one directory. Sometimes I find myself using ../../ or even more. This
is causing other problems though, I need a way of getting a hyperlink
relative to the main URL in one go.
 
G

Guest

Hi

Thanks for your help

Regards
Lea Haye

----- Steve Easton wrote: ----

A relative hyperlink is
href="subdir/mypage.htm
an absolute hyperlink is
href="http://www.website.co.uk/subdir/mypage.htm

To insert / create a relative hyperlink to mypage.ht
with your web open, highlight the text or image that i
to be your "link" and then click the hyperlink Icon
browse to the actual page and select it and click OK or Apply
FrontPage will calculate the correct relative path for the link to the page

ht
--
Steve Easto
Microsoft MVP FrontPag
95isaliv
This site is best viewed...........
........................with a compute

Lea Hayes said:
to get to the page: http://www.website.co.uk/subdir/mypage.htm from an
location within the siteback one directory. Sometimes I find myself using ../../ or even more. Thi
is causing other problems though, I need a way of getting a hyperlin
relative to the main URL in one go
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top