Forum Moderators: open

Message Too Old, No Replies

Hyperlinks point to "C" drive?

Web works fine on my computer, but links don't work once I publish!

         

glenf

10:47 pm on Feb 24, 2004 (gmt 0)

10+ Year Member



I recently updated my web site in FP 2000 and republished it using FTP to Earthlink where it resides. In the preview before publishing all of the hyperlinks work fine, but once I publish the only ones that work are the four that go to external web sites and my email address. If you hover over the link, it shows an address on my "C" drive at the bottom of the screen. How do I get these addresses changed to refer to the web location? All of the pages seem to load when I do the FTP publish bit.

edit_g

10:57 pm on Feb 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You have probably coded your links to point to the places they reside on your hard drive. You can't access your hard drive from the internet (hopefully!) so you can't get to the links. They are probably looking something like C:\mydocuments\mywebpage\about.html.

You need to change each of the links so that they point to the right places on the internet (as opposed to your hard drive). So for the link above you might want to put: http://www.yourwebaddresshere.com/about.html.

glenf

12:10 am on Feb 25, 2004 (gmt 0)

10+ Year Member



When I look at them in FP 2000, they have addresses like 'Biography.htm' etc. with no reference to the "C" drive. When I look at them on the web, they reference the "C" drive! Where and how do I change them?

edit_g

12:22 am on Feb 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Change them by clicking on the link and putting in "http://www.yourwebsite.com/Biography.htm" in the properties panel where you currently see "biography.htm"

jk3210

12:23 am on Feb 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Let me guess...I'll bet you've re-done the same links over and over trying to get them to work, right? It sounds very familiar to me. :)

FP uses "relative" links.

The problem you describe usually happens when you copy & paste links from one page to another, but close the first page BEFORE you paste the links onto the second page. This breaks the link, so FP just makes them point to the files on your hard drive.

If the links are correct on the page you copied them FROM, leave that page open until you paste the links onto the second page.

However, if the links are WRONG on the first page, they'll be wrong where ever you paste them.

<added> edit_g's suggestion will also work, but the links will no longer be "relative" links. They will be hard-coded links --which some people prefer.

jk3210

12:34 am on Feb 25, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



...OR...you can go back and select each link, then hit the link selection button and re-select the page you want the link to point to. This allows FP to reinstate a relative link that points to the page you desire.

glenf

1:28 am on Feb 25, 2004 (gmt 0)

10+ Year Member



I tried changing one of them to [triplenetinvestment.com...] and I got an error message when I clicked on it after publishing. All of the links work fine (as relative links) when I click on them in FrontPage. The last time that this happened, (yes it happened before) I called my computer guru over and he made it work but that was almost a year ago and I don't remember what he did. I may have to call him again and start his meter running!

glenf

9:38 pm on Feb 25, 2004 (gmt 0)

10+ Year Member



To the best of my knowledge, all of the files are in the "Front Page Web" which is called TNILLC on my hard drive. It contains the attached files which, I believe, are all of the files in the web. The .gif and .jpg files and the contact Email address work. The pages do not. The web has been active on Earthlink since last April. I made changes to one page and first tried to update just that page on the internet using FTP and got an error message regarding 'file names with spaces in them'. There were no names with spaces in them that didn't have an underscore in place of the space, but I removed the underscores leaving the file_names as filenames instead. It still wouldn't accept my changed page so I tried uploading the entire web. The upload window showed that all of the pages were uploading and, indeed if I enter a URL on the internet such as [home.jps.net...] as an example, it will reach the 'biography' page of my web. The www.triplenetinvestments.com URL is hosted by GoDaddy and re-directed to [home.jps.net...] while hiding the fact that it is re-directed. Earthlink purchased Onemain a couple of years ago who had previously purchased JPS. If I hover over the page links on the web online that says www.triplenetinvestments.com the bottom of the screen will show the page locations to be on my "C" drive. If I do it on [home.jps.net...] it will show the correct location as biography.htm as it does on my web on my computer.

I had my computer guru over here on another matter shortly after I set up the site last April (it did the same thing then) and he spent less than 5 minutes fixing it so that it worked right. I was so happy that it was fixed that I neglected to write down what he did! DUMB! I have spent over two days researching what might be wrong and finally sent him an Email this morning saying that I had given up. I have not, as yet, heard from him.

smokeyb

11:50 pm on Feb 25, 2004 (gmt 0)

10+ Year Member



glenf... why don't you go out and buy yourself a copy Dreamweaver, and restore complete and simply control over your code. It may not save you money, but it will do wonders with your headaches!

jbgilbert

12:12 am on Feb 26, 2004 (gmt 0)

10+ Year Member



glenf,

I had this same issue once. It turned out my problem was that I correupted the .htaccess file and had to have my hosting company restore the original.

Probably not your problem, but thought I'd offer something new.

If that does turn out to be an issue, DO NOT EVER EDIT THE .HTACCESS FILE WITH FRONTPAGE.

glenf

12:43 am on Feb 26, 2004 (gmt 0)

10+ Year Member



smokeyb

If I thought it would be just that easy, I would. However, I browsed the Dreamweaver newsgroup today and found just as many people complaining about Dreamweaver as about FrontPage. I'm no fan of Billy's, but this web site worked a week ago. All I did was change one page. I really don't want to start all over again.

eWhisper

1:54 pm on Feb 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



glenf,
didn't realize you'd reposted this here. I put a response in the HTML & browswers forum where the question was origionally asked.

Reflect

5:42 pm on Feb 27, 2004 (gmt 0)

10+ Year Member



Could you not open the web live and then go to tools>recalculate hyperlinks to get them corrected?

Brian

glenf

10:39 pm on Feb 27, 2004 (gmt 0)

10+ Year Member



I finally had my 'guru' come over this morning and he got things straightened out. It seems that I modified the page 'outside' of the web when I changed it. Now it all works. Thanks to all who had input.