File Paths

C

Chink!

Something which really bugs me about Frontpage is the way that File paths
seems to change - or are difficult to assign
For example I create a hyperlink to file.htm pointing temporarily which is a
file on my hard drive though the file path doesnt show that location

and I end up with a file path such as /myfiles/website/file.htm

which clearly doesnt work when I upload to webspace

Similairly Ive had to change every single hyperlink manually when converting
a website to be accessible on a cd-rom

there must be a simpler way to do this

what am I missing?

thanks
CH!
 
T

Tom Pepper Willett

Do you actually have a web site created and opened, or just a page?
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
How to ask a newsgroup question:
http://support.microsoft.com/kb/555375
===
| Something which really bugs me about Frontpage is the way that File paths
| seems to change - or are difficult to assign
| For example I create a hyperlink to file.htm pointing temporarily which is
a
| file on my hard drive though the file path doesnt show that location
|
| and I end up with a file path such as /myfiles/website/file.htm
|
| which clearly doesnt work when I upload to webspace
|
| Similairly Ive had to change every single hyperlink manually when
converting
| a website to be accessible on a cd-rom
|
| there must be a simpler way to do this
|
| what am I missing?
|
| thanks
| CH!
|
|
 
R

Ronx

FrontPage uses and manages relative links to files within the
FrontPage web. Open the web in FrontPage. Make sure that *every*
file you use is inside the web (File->Import any files that are
outside the web), then allow FP to create the links using the
Hyperlink dialogues and browsing to the files.
The links FP creates (if the above is done) will never be root
relative nor absolute, they will take the form folder/page.htm or
.../folder/page.htm - using a relative path.
Web sites using relative paths can be published anywhere, internet,
subweb, CD, etc. and links will work correctly.
Links to files outside the web will be Absolute - again FP will not
create root-relative links.

When a link to a file within the website is displayed in reports or a
status bar, it may *appear* as root-relative (if the file linked to is
in a subweb) or as an absolute link - but the HTML code will be a
relative link.
 
C

Chink!

Thanks Ron

Does this help if I move a file or would I have to change the link manually?

C!
 
R

Ronx

If you move or rename a file in FrontPage, with the web open, FP will
update all links in all pages to the file.
If the links are scripted (document.writes in JavaScript, for example)
then you have to update the links manually.
 
C

Chink!

Thats gonna save me so much time, thanks!

I notice some extra folders have appeared since Ive done this labelled
_private _vti_cnf and _vti_pvt

These dont need to be copied to the cd-rom or webspace do they?



CH!
 
R

Ronx

If you use the FrontPage menu option File->Publish web/site to upload
your pages to the server, FrontPage will only upload the relevant
files and folders, and keep the local and server copies synchronised.
(See Publish in Help). If you use a third party FTP client, or are
burning to CD, then the _vti* folders can be omitted, as can any other
empty folder.
FrontPage never uploads the _vti* folders.

Do not delete the _vti* folders from your local copy of the web. FP
uses these for managing links, synchronising local and remote webs,
and other FP related administrative tasks.
 

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