Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-17-2011, 10:59 PM   PM User | #1
Kalmykov
New to the CF scene

 
Join Date: Aug 2011
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Kalmykov is an unknown quantity at this point
Post Links work locally but not when uploaded to a hosting server

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">
<ul>
<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>
</Div>


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?
Kalmykov is offline   Reply With Quote
Old 09-18-2011, 01:50 AM   PM User | #2
M.Jackson
Regular Coder

 
Join Date: Aug 2011
Posts: 120
Thanks: 1
Thanked 15 Times in 15 Posts
M.Jackson is an unknown quantity at this point
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.

Last edited by M.Jackson; 09-18-2011 at 01:55 AM.. Reason: additional info
M.Jackson is offline   Reply With Quote
Reply

Bookmarks

Tags
linking, local, scripting, server

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:28 AM.


Advertisement
Log in to turn off these ads.