how to use .htaccess ?

Discussion in 'HTML & Website Design' started by tenthirty, Jun 30, 2008.

  1. #1
    I want to make a page like this - domain.com/page1 but I don't know how to use .htaccess.Can anyone help me ?

    thanks
     
    tenthirty, Jun 30, 2008 IP
  2. Killerbee

    Killerbee Guest

    Best Answers:
    0
    #2
    In the .htaccess file you can write

    
    DirectoryIndex <insertpagehere>
    
    Code (markup):
    Example:
    
    DirectoryIndex index.html
    
    Code (markup):
     
    Killerbee, Jun 30, 2008 IP
  3. jamesicus

    jamesicus Peon

    Messages:
    477
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    jamesicus, Jun 30, 2008 IP
  4. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #4
    Trusted Writer, Jun 30, 2008 IP