Broken links after uploading

K

kgduke

I created a website in MS Publisher 2002. When I preview the website using
MS Pub's preview button, all the links work fine.

After uploading the site via godaddy.com, none of the links work. The
cursor changes to a hand indicating that it is a link, but nothing happens
when I click on them.

Please help.
 
M

Meebers

looks like the links are pointing to your C:. When I hover over your link,
I can see the link address
 
K

kgduke

I downloaded SP 3 for XP then exported each page as a web page into a new
folder. I deleted all of my files off of the website and uploaded all the
newly "exported as web page" files. I still only see the home page and no
links work.
 
D

DavidF

As Meebers pointed out, your links are pointing to your hard drive.
Mouseover any of the links and look at the status bar at the bottom of your
browser window to see this. Obviously, this is wrong.

One reason why this can happen is if you are using a Master Page. If you put
your links, or anything on a Master Page, you need to move it to the main
publication page, and not use a Master Page in a Publisher web document. The
problem with this advice is I don't know if the Master Page feature was
offered in Pub 2002.

The second part of the problem with your links is it appears you are writing
them to custom .htm file names. Publisher 2002 doesn't allow custom file
names for each page.

Check the Master page issue, and if you aren't using a Master Page, then
tell me specifically, step by step how you are inserting the links to the
other pages in your site, and how you are writing the links.

DavidF
 
K

kgduke

I clicked View/Master Page and it takes me to a completely blank document.
When I uncheck MAster Page it takes me back to my original document so I
don't think I'm using a Master Page.

Process I'm using:
1 New/Document/Webpage
2 Add content, images, text.
3 Save As...Webpage (Doc A)
4 Export as Webpage into a separate folder
5 Open another new document (Doc B) and save/export as webpage.
6 Highlight text to be a link.
7 Insert/Hyperlink. MSPub takes me to My Documents.
8 Locate saved Doc A in My Docs and double click. That's it.

Should I be locating the Doc A in it's Exported File form? When I try to
open an exported file, all I get is a sole graphic...no text...it's not the
doc I saved.
 
D

DavidF

I think I understand. It sounds like you have used multiple Publisher files
to build each page. This isn't exactly the way most people use Publisher to
build websites, but it will work...it is actually the way I prefer. The
basic mistake you are making is pointing your hyperlinks to the html files
while they are on your computer. You should pointing the links to where the
files will be after you upload them to your web host server....not your
computer.

After your home page loads at http://www.nyadire.org/ you have a link to the
"Nyadire Mission" page. This is how you wrote it:

file:///C:/Documents%20and%20Settings/Kimberly/My%20Documents/Zim%20Steering%20Committee/Website%20-%20Publisher/Nyadire%20Mission%20Zimbabwe.htm

This link is looking to your C drive on your local computer for a file
called "Nyadire Mission Zimbabwe.htm" but it should be looking to your web
host server for the file. If your web site was built with one Publisher
publication, and each page was included, then your link would look more like
this: http://www.nyadire.org/index_files/****.htm

If you are indeed building each page with a separate Publisher file, then
you have to decide how you are going to organize the html files on your
host, before you can write the links correctly. I would suggest using a
different subfolder for each of your other pages. I would also suggest that
you use the default index.htm for the file name when you Export your html
files from your Publisher page. It will be easier to manage.

Taking the "Nyadire Mission Zimbabwe.htm" example. When you export your html
files, and you are saving them to your computer, this time save as
"index.htm" instead of "Nyadire Mission Zimbabwe.htm". Create a subfolder on
your website at the same level as your current home page, called
"Nyadire_Mission_Zimbabwe" or "Nyadire-Mission-Zimbabwe"...
"NyadireMissionZimbabwe"...your choice, but make the folder descriptive of
the page and avoid spaces. That is what the %20 in the link as you wrote it
represents...a space in your file and folder names. Don't use spaces...use
either an underscore to connect words, or upper case to separate them. Most
people recommend only using lower case when writing links. However you
decide to do it, just be consistent. I prefer abbreviating folder names so
there is less type.

Now your link would look like this:
http://www.nyadire.org/NyadireMissionZimbabwe/index.htm

Once you have decided how you are going to organize your files on your site
and how you are going to link the pages together, then you can insert the
hyperlinks. When you select the text, and insert > hyperlink, the dialog
that comes up, should have several options as to where you can point the
hyperlink. I don't have 2002 installed, but you probably have been Link to:
"Existing File or Web Page" selected. You also are then browsing down to
where you saved those html files on your computer...the C drive. This time
instead, click on Browsed pages instead of Current Folder, and then just
copy and paste the link in the Address field. Use the keyboard shortcut of
"Ctrl + V to paste. Now it is pointing to where you will upload that file.

Now, as I said, you appear to have decided to break your site up into
individual Pub file. Once your get your site setup with a subfolder for each
of those files, it will be relatively easy to write links to and from each
page. I actually prefer doing it this way. It makes it easier for me to
manage a large site this way. However, you should at least consider
combining all your pages in one file. If you do, you will write the links
different.

Publisher 2002 Help content on the MSFT site is really poor, so read this
article written for Pub 2003. Most of the information is similar to 2002.
One difference is that Pub 2003 uses "Publish to the Web" instead of "Export
as..." in 2002 to produce the html files.

Prepare, publish, and maintain your Publisher Web site:
http://office.microsoft.com/en-us/publisher/HA011053521033.aspx

Also read: Web Publication Changes Made in Version 2002 of Publisher :
http://msmvps.com/blogs/dbartosik/pages/81262.aspx

Then take a moment to decide how you want to organize your site, and you
should be able to write correct and functioning links.

DavidF






It also sounds like you are then writing the hyperlink by pointing to the
other html file
 
K

kgduke

David - Thanks. I've readjusted and made each main page a separate Publisher
file. I saved as and exported into that folder and fixed the links and
everything works fine.

One more question:
I've added a couple of subpages using Insert Page as you suggested most
people do. How do I now link to that specific page within the larger file.
For example, under Mission Trips, I added a second page "July 2006 Trip".
How do I get a link to go exactly to that page when it's still a part of
www.nyadire.org/mission_trips/index?
 
D

DavidF

Congratulations!

I think it would be helpful for you to review the material under Help in
Publisher about hyperlinks. Just open Help, and type in "hyperlinks", and
there is a lot of info for Pub 2003. Under hyperlinks > Create a hyperlink >
Create a hyperlink to another place in your document:

1. Select either text or a picture.
2. Click Insert Hyperlink .
3. Under Link to, click Place in This Document.
4. Select the page you want.

Take the time to scan the other topics that are covered under hyperlinks. It
will save you a lot of time in the future.

I do have a question and a suggestion.

The suggestion is to compress all the images on your pages before you upload
again. I really like the colors and the graphics...very rich, but they also
take a long time to load.

Reference: Compress graphics file sizes to create smaller Publisher Web
pages:
http://office.microsoft.com/en-us/publisher/HA011266301033.aspx

The question I have is what are you doing different on your home page:
http://www.nyadire.org/
and this page:
http://www.nyadire.org/nyadire_mission_zimbabwe/index.htm

The second page is very different in size, quality and seems to have been
written by something other than Publisher. What did you do different, and
why the differences in the two pages? How did you produce the html for your
home page? Did you Export as, or Save As a web page?

DavidF
 
K

kgduke

Right now I'm working on compressing the graphics. The link you gave me was
for MSPub 2003. Since I have MSPub 2002 I couldn't get the compress button
to appear on my Pictures Toolbar. Is there a way to do it in MSPub 2002?

Will get back to you on the other issues.
 
D

DavidF

I am sorry. I forgot that you were using Pub 2002. I think that Pub 2002 did
automatically "compress" the images when you produced the html, but if you
want to make sure that your images are optimized for the web, use a third
party image editing program, and resample, reduce, resize to exactly the
correct size before you insert the images. http://www.irfanview.com/ is a
terrific freebie, if you don't have image editing.

I am still really curious about why your home page looks so much different
than the other pages.

I am assume that the specific directions on how to write the link to another
page in a publication worked for you?

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