PDA

View Full Version : Help with links


Dan_Clizer
04-19-2007, 12:38 PM
Hi Guys & Gals,

I'm having a problem with the hyperlinks on my main page and two additional pages I built. I have linked them on the bottom of the home page, and on the other two pages, but they only worked momentarily. I doubled checked the file names and everything seems right; aboutus.html - breakingnews.html - They seemed to initially work, but after three of four times of clicking on them, I got the 404 error. They just stopped working like somehow the linking just stripped out...... I also checked them from a second computer, and that was the same result, worked a couple of times and then died. I'm using NVU to build the pages.

Any suggestions? Any help would be greatly appreciated!

I wanted to mention also what a wonderful help it is to have a forum like this where everyone can help each other & offer support. Much nicer than other hosts I've used.

Bob
04-19-2007, 12:44 PM
Dan,

A URL where we can see the problem in action would be most helpful...

However as I can sometimes make really good guesses ;) I believe I have seen the page in question and the problem is your coding...

<td><a href="index.html.html"><big><big>Home</big></big></a></td>

<td><a href="breakingnews.html.html"><big><big>Breaking News</big></big></a></td>

<td><a href="aboutus.html.html"><big><big>About Us</big></big></a></td>

need to lose the last ".html" for each link :)

-Bob

Pssst.... http://www.futurequest.net/Community/SiteOwner/

Dan_Clizer
04-19-2007, 12:54 PM
Thanks Bob! Excellent guess :-)) I'm really puzzled by this coding thing. My son Nick is helping me with building the site and he and I both noticed that somehow that extra .html was sneaking in there! We took it out out several times and then retried the links, with still no success......I just don't understand; one, why that extra .html sneaks in and; two, why even after we took the extra one out, redid it and it still wouldn't work.
By the way, since the site still looks so bad, I'll wait for a bit yet before I throw out the URL :-)) Nick & I will be able to work on it this afternoon again, so we'll try to see if we can uncover the code mystery.....

Thanks again Bob.

Bob
04-19-2007, 01:07 PM
Dan,

How are you adding the links from NVU? I am not sure but it is possible that you are browsing for the page on your local computer and adding it in that manner.

If so it may also be possible that your computer (if windows) is set to not display all file extensions and NVU is adding another .html as a result?

If using Win XP just open any Folder from My Computer and then under Tools select Options and then View and make sure that Hide extensions for known file types is not ticked...

If using Vista open your Control Panel and select Appearance and Personalization and click on Show hidden files and folders and make sure that Hide extensions for known file types is not ticked there.

Just a guess but something to look at. You can also view and edit the raw code from within NVU (Source) and that may fix it permanently...

You can edit the page already on the server from your CNC File Manager and manually remove the extra .html for now as well. However when you upload a new version of the file it will overwrite the manual changes you make there.

-Bob