Hyperlinks to pages/images in subfolders

  • Thread starter Thread starter FARAZ QURESHI
  • Start date Start date
F

FARAZ QURESHI

Upon building/designing a web page on C: drive when I insert a link to a
image or other page in the same folder or a subfolder the same works good as
long as the path remains the same, but if the complete project is copied to
some other computer or drive the path needs to be changed.

How to have a link be updated or what is the manner in which I could have
the links be working wherever the complete project or main folder be
transported?
 
You can just keep all the links in the same folder or a sub forlder and then
you don't need to specify the drive. If they are not on the same folder you
can't publish them anyway. External links don't have a drive so this would
not be a problem
 
Sounds like you are using absolute links pointing to your file system.
If you let it FrontPage will use relative links that will transport
between locations without having to be changed.

An absolute link will be similar to:
<a href="File:///C:/path/websitename/pagename.htm">link text</a>

Relative links will be similar to:
<a href="pagename.htm">link text</a> (same folder)
<a href="folder/pagename.htm">link text</a> (sub folder)
<a href="../pagename.htm">link text</a> (parent folder)


To use allow FrontPage to use relative links:

You must always open a website (File->Open Web or File->Open Site)
before editing any pages in that website.

You must Import all objects (example: images) into the website before
using them on a page.
 
Back
Top