View Full Version : Links work locally but not when uploaded to a hosting server

09-17-2011, 11:59 PM
I recently uploaded files to fatcow and they can be see here http://kovcreation.com/

This is the html for the links.

<Div id="nav">
<li><a href='index.html'"><font color="584842"vlink="#bb2826"alink="#584842">Home</font></a></li>
<li><a href='Portfolio.html'"><font color="584842"vlink="#bb2826"alink="#584842">Portfolio</font></a></li>
<li><a href='Contact.html'"><font color="584842"vlink="#bb2826"alink="#584842">Contact</font></a></li>

It works locally but once uploaded to there servers I get a "page not found" after clicking a link. The link to the index page works but not the others. The people at fatcow where completely useless and just kept saying it was a scripting issue. however, if it were a scripting issue it wouldn't work locally.

Any insight?

09-18-2011, 02:50 AM
You have the file names of portfolio.html and contact.html start with a capital letter while index.html does not. Your windows box doesn't care about caps, but the server you're using is likely in *nix system and it does care. So, to your server, those two files do not exist.

Good rule of thumb: never capitalize file names. That way you never have this trouble.

P.S. there are extra " after each file name and <ul> isn't closed.