1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

linking website pages

Discussion in 'HTML & Website Design' started by Paraditle, Nov 11, 2010.

  1. #1
    Hello,

    I'm using dreamweaver to create my webpage and it is turning out ok (I'm New.) Now when I try to put a link to my contact us.html from my index page and upload it to the cpanel it can't find the page. I made sure my path was correct in the coding but I keep getting a 404 error. Any help would be greatly appreciated.

    Cheers
     
    Paraditle, Nov 11, 2010 IP
  2. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #2
    If your post is correct with ==> contact us.html the problem is the SPACE between the word.... Rename the page, removing the space.

    If I misunderstood, please post more details on the issue so I can help you further...

    Cheers!~
     
    workingsmart, Nov 11, 2010 IP
  3. Paraditle

    Paraditle Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, I tried doing that as well still no luck. Not sure what else I am missing.

    Thanks for the Help.
     
    Paraditle, Nov 11, 2010 IP
  4. Hosterbox

    Hosterbox Active Member

    Messages:
    222
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Did you make sure to upload it to the correct directory? And did you make sure that the link correctly points to it?
     
    Hosterbox, Nov 11, 2010 IP
  5. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #5
    There are only 4 possible things to go wrong when linking a file...

    1 - Typo! ( hate them... lol )
    2 - Not matching file name to file name declared in link
    3 - File not on server
    4 - File Location not declared properly in your link

    Example:
    
    <a href="FILE_LOCATION/FILE_NAME">Contact us</a>
    
    Code (markup):
    If your file is named contact.html and is in the root of your web hosting account along with the page calling it
    ( depending on server setup and type like /public_html/ in cpanel )
    Your link should look like this:
    
    <a href="contact.html" title="Contact Us">Contact Us</a>
    
    Code (markup):
    Again, this is provided that the file name matches what you put in the link text and that the file is located on the server where it should be according to your link.

    Hope this helps!

    Cheers!~
     
    workingsmart, Nov 11, 2010 IP
  6. markhill139

    markhill139 Guest

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    A 404 error means that the file or directory you are trying to access cannot be found. This can be for one of three reasons – the file or directory does not exist, you've made a spelling mistake, or the web server is down.
     
    markhill139, Nov 11, 2010 IP
  7. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #7
    lol @ "web server down".... How can the server spit out a 404 error if it is down?... Come on people, are you serious??? With responses like that, no one will get help to issues!!

    Cheers!~

    P.S. - Thanks for the chuckle.... ( I seriously LOL'd out loud on that one )
     
    workingsmart, Nov 11, 2010 IP
    mcfox likes this.
  8. d002010wilson

    d002010wilson Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hahaha! This thread is getting funnier... lol
    It might be a typo error or the file might not be successfully uploaded on the server.
     
    d002010wilson, Nov 16, 2010 IP
  9. shahilroyhere

    shahilroyhere Well-Known Member

    Messages:
    189
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    #9
    Check if the files has got proper execution permissions on the server. This is common cause of many problems similar to this.
     
    shahilroyhere, Nov 16, 2010 IP
  10. Paraditle

    Paraditle Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Hey guys I got it.

    Thanks for all of the great advice. I wasn't letting dreamweaver do the work I was trying to point the links manualy on the website.
     
    Paraditle, Nov 18, 2010 IP