Publish Website to a CD- links to documents not working

L

laskowv

I created my website for a bunch of forms that are in MS Word and PDF
documents. The online site works; however, when I try to burn it to a CD,
the links to the .doc and .pdf files do not work. I believe it may have
something to do with the drive assignment. On my computer it is E & F.

How should the path in Publisher 2003 look for a Word document in say
"E:\myweb\test.doc".

Valerie
 
D

Don Schmidt

You will need to change the path in the link to

Drive:\website_folder\test.doc

If the files to be downloaded are in their own folder (I suggest they be)
then that folder needs to be added to the path, i.e.,

D:\website_folder\downloads\test.doc

Note if you upload your website using these files and links, it will not
work for the links will be pointing to the D drive and not pointing to the
folder on the server. Also, when using the CD it must be in drive D. If
you use the CD on a computer that the CD Drive is E, the links will fail
unless you edit the paths to E.
 
S

Spike

When you burned the CD, did you also include the documents in the same
directories as they appear online?

Spike
 
D

DavidF

Don,

You are better at relative links than I, but wouldn't you NOT specify the
drive in the link paths? In other words instead of
Drive:\website_folder\test.doc
use
\website_folder\test.doc
and instead of
D:\website_folder\downloads\test.doc
use
\website_folder\downloads\test.doc

Or if the "downloads" folder is at the same directory level as the
index.html file in Pub 2000 and also the index_files folder in 2003 and
2007, then wouldn't this be the proper way to write the relative link?

\downloads\test.doc

And wouldn't this work online and burned to CD?

DavidF
 
D

DavidF

Actually, I have another question. Shouldn't the path be using forward
slashes rather than backward slashes? And do you really need either at the
front of the path. In other words
website_folder/test.doc
instead of
\website_folder\test.doc

I am a bit embarrassed that I don't know this, but I almost always use
absolute links.

DavidF
 
D

Don Schmidt

Yes, they should be forward slashes.

Did a test of a website on the D: hard drive.

Opened the website by clicking on the index.html file.
The link worked with or without the first forward slash. When accessing the
file from the server, the first forward slash is needed. A unix requirement?

Rather than click on the html (htm) file inside a folder for the website to
come up, it would be cosmetically better to create a link to the index.html
(htm) webpage on the desktop

Bottom line; seems a website should work fine if copied to a CD as long as
the links were written without the

http://www.domaine.com

Written as

folder/file.doc
 
D

DavidF

Thanks for the explanation Don. Wonder if the OP ever came back? At least I
learned something. <g>

DavidF
 
D

Don Schmidt

It was an interesting problem; I also learned from it. I can see by loading
a website on a CD it would be a good training package.

Take care,

Don
 
L

laskowv

Don,

Thanks for the suggestions. I will modify the links to be just the folder
and file name; without the drive letter and see if that will work. I didn't
want to hard code the drive letter because it's too big of a variable. For
the interim, I ended up just making folders and putting the files on the CD
and distributing. It's a little more maneuvering for these little old
ladies, but they will just have to work through it for now.
 
D

Don Schmidt

Sounds like you have a handle on it; continue with the fun. <G>

Lot of folks here to help if you need some.
 

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