Hyperlinks to pages/images in subfolders

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?
 
W

Wayne-I-M

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
 
R

Ronx

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.
 

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