Absolute pathnames

I

Ian Sweeney

I want to use option 3 from the list below

1. <a href="www.stockwellpark.com/lorn-road/index.htm">
2. <a href="../lorn-road/index.htm">
3. <a href="/lorn-road/index.htm">

The first two work locally and on my published web but
option 3 only works on the published web page but not
when I'm testing locally. Starting a pathname with a '/'
does not resolve to the current web.

I'm using FP 2002 on Windows XP.
 
S

Stefan B Rusynko

Options 2 & 3 are relative paths not absolute paths
2. <a href="../lorn-road/index.htm">
- means Up one folder from the current page location to "index.htm" in the "lorn-road" folder
(will only be a valid link if your currently open page is in a folder at the same level as the "lorn-road" folder)
3. <a href="/lorn-road/index.htm">
- should just be <a href="lorn-road/index.htm">
- means Down one folder from the current page location to "index.htm" in the "lorn-road" folder

You are best off always letting FP manage the links as relative links by chosing Insert Hyperlink (or right clicking the text or
image for the Hyperlink option), and then browsing to the link w/i you currently open FP Web/Site
If you use absolute links (like #1) they will always show as broken in your local copy until you verify it, and you must be online
for it to work



| I want to use option 3 from the list below
|
| 1. <a href="www.stockwellpark.com/lorn-road/index.htm">
| 2. <a href="../lorn-road/index.htm">
| 3. <a href="/lorn-road/index.htm">
|
| The first two work locally and on my published web but
| option 3 only works on the published web page but not
| when I'm testing locally. Starting a pathname with a '/'
| does not resolve to the current web.
|
| I'm using FP 2002 on Windows XP.
|
|
 
G

Guest

Thanks
-----Original Message-----
Options 2 & 3 are relative paths not absolute paths
2. <a href="../lorn-road/index.htm">
- means Up one folder from the current page location
to "index.htm" in the "lorn-road" folder
(will only be a valid link if your currently open page
is in a folder at the same level as the "lorn-road"
folder)
3. <a href="/lorn-road/index.htm">
- should just be <a href="lorn-road/index.htm">
- means Down one folder from the current page location
to "index.htm" in the "lorn-road" folder
You are best off always letting FP manage the links as
relative links by chosing Insert Hyperlink (or right
clicking the text or
image for the Hyperlink option), and then browsing to
the link w/i you currently open FP Web/Site
If you use absolute links (like #1) they will always
show as broken in your local copy until you verify it,
and you must be online
for it to work



"Ian Sweeney" <[email protected]>
wrote in message [email protected]...
 
C

Cheryl Wise

The reason #3 does not work locally is that your lorn-road is a FrontPage
subweb of localhost. IIS on XP or 2000 Pro and PWS on 98 are "lite"
versions of the IIS running on server operating systems so they don't
resolve root relative links properly.
 
Top