A particular page opens in the url?

Discussion in 'HTML & Website Design' started by WAZIR, Jan 27, 2009.

  1. #1
    Hi all...

    I have setup a html page and uploaded it with many other pages under a domain.

    How can I setup it such that that particular page opens when my url is opened.

    Currently I get this when someone visits the url:

    I want that when someone visits the url, homepage.htm opens automatically
     
    WAZIR, Jan 27, 2009 IP
  2. crivion

    crivion Notable Member

    Messages:
    1,669
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    210
    Digital Goods:
    3
    #2
    make a .htaccess file and write this then place it on ftp
    DirectoryIndex index.html homepage.htm
     
    crivion, Jan 27, 2009 IP
  3. WAZIR

    WAZIR Banned

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks this worked
     
    WAZIR, Jan 27, 2009 IP
  4. newyears1978

    newyears1978 Peon

    Messages:
    125
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The other option would just have been to rename the homepage file index.html instead.
     
    newyears1978, Jan 27, 2009 IP