Dreamweaver - Pages only display if I type .html at the end

Discussion in 'HTML & Website Design' started by AdrianMoss, Apr 11, 2009.

  1. #1
    I create a page in Dreamweaver, save the page, and then upload it.

    Let's say the page is located at www.mywebsite.com/contact

    The only way I can access the page is to type www.mywebsite.com/contact.html

    I've been running into this issue quite a bit lately and I'm not sure why. The ONLY difference is that I have one site hosted w/ GoDaddy (where I don't have to type .html at the end to see it visible) and another hosted at BlueHost (which requires me to type .html at the end if I want to see the page on the internet).

    I can't believe a webhost could cause this but thats the only thing I can come up with.

    Anyone have any ideas?
     
    AdrianMoss, Apr 11, 2009 IP
  2. emed

    emed Peon

    Messages:
    70
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    maybe that page on godaddy is using htaccess or the file is inside a folder, for example i create the folder contact, and inside that folder i put the page with the name index.html
    example.com/contact/index.html
    that way i can access the page by typing example.com/contact because i can skip the index.html

    but if you have a file with a different name, like whatever.html
    example.com/whatever.html or
    example.com/folder/whatever.html
    you have to type the full name
     
    emed, Apr 11, 2009 IP