Incorrect path targets on links

R

rockydew32

I have to update a website for work, and the only way i can get the links on
the main page navbar to work is by editing the .htm files to change the
links. Currently, the main page opens fine, but when you click to go to a
different page, it tries to find that page on my computer. Here is the
advice I have received and why it is not sufficient thus far:

1) Get rid of master page - this is a legacy webpage for work and I do not
want to re-invent the wheel.
2) Upload entire folder intact - tried that, still searches locally for file
and ignores the files on the server.
3) Don't use publisher to make a website - not an option

I refuse to believe that there is not an easy fix to this. I would think
somewhere in Publisher 2007 there exists a checkbox that toggles between
"Absolute" paths rather than "relative" paths. Thoughts? Here is the
website, which works after i manually changed the htm files:
http://local.ans.org/ecs/index.htm
 
D

Don Schmidt

I'm not a 2007 user; 2000 here.

A guess on my part; here's what I would try:

Create a new website, the number of pages needed and watch for any options
when creating the additional pages.
Next, open the existing website pub file and do copy/paste of each page.

Better suggestions are probably forthcoming from others.
 
D

DavidF

Go to Tools > Options > Web tab. Notice that the option to "organize
supporting files in a folder" is not checked. This is usually checked by
default, and when you Publish to the Web and produce your web files, you
will get an "index.htm" file and an "index_files" folder that contains all
your other pages of your site and the supporting graphics. When this option
is unchecked Publisher won't use a subfolder...all the files are loose with
the index.htm file. Your pages are also named differently. No problem...it
just leaves a lot of loose files to manage, and using the subfolder can make
things easier sometimes.

Anyway, the reason this may be important is that you said that you "uploaded
entire folder intact". What is the name of that folder? Given the way you
are producing your files right now, there would not be a subfolder, which
would usually be "index_files". Your problem might be because you need to
upload all the publisher files...not a folder, to the "ecs" folder. How are
you uploading? FTP? If you are having trouble with your links not working,
chances are you have uploaded some files or folders to the wrong level of
your host directory.

If that doesn't lead to a solution, you can change the links to absolute
links if you want, but that may not fix the problem. Never the less, on your
home page in Publisher click on the navbar to select it. Then either click
on the wand that appears...or go to Format > Navigation Bar Properties. When
that dialog comes up click the modify link option for your home page. In the
next dialog in the left column, you probably have "Place in this document"
selected. Click "Existing File or Web Page" instead, and paste the absolute
link into the address: http://local.ans.org/ecs/index.htm Go to Upcoming
events link and paste: http://local.ans.org/ecs/index_upcomingevents.htm
(Note that there is an underscore between index and upcomingevents, not a
space. Work your way through the whole menu. Note that if you do decide to
use the supporting folder option to organize the loose files, then the links
will be different. Your home page will be the same, but your Upcoming events
link would be http://local.ans.org/ecs/index_files/comingevents.htm . This
is where Publisher uses a different naming convention for the files,
depending on which option you choose. So decide which way you want to
organize the files before you redo all the links.

You know...it just occurred to me that your issue might be something
entirely different. When you say that the links point to the C drive on your
local computer, is this when you are doing a web page preview by chance? If
so, this is as it is supposed to be. The files have been created in a temp
folder on your local hard drive, and the path would reflect it....

I would also make another suggestion. Your site is pretty slow to load on
dial-up and I suspect that is because of the images. Select one of the
images in your Pub file. Format > Picture > Picture tab. Click the
"compress" button. Under target Output choose the option "Web". Under Apply
compression settings now, if you check Apply to all pictures in the
publication, you will take care of all your pictures at once. What this does
is resample and resize your images to fit the size you want at 96 dpi. Your
pictures will load more quickly...your pages will load more quickly.
Oh...and a short cut is to select the image, and then find the compress icon
on the Picture tool bar.

DavidF
 

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