index.html as default intead of index.php

Discussion in 'robots.txt' started by chaukar, Apr 2, 2010.

  1. #1
    chaukar, Apr 2, 2010 IP
  2. killaklown

    killaklown Well-Known Member

    Messages:
    2,666
    Likes Received:
    87
    Best Answers:
    0
    Trophy Points:
    165
    #2
    add this to .htaccess, it should work
    
    DirectoryIndex index.html
    
    Code (markup):
     
    killaklown, Apr 2, 2010 IP
  3. chaukar

    chaukar Peon

    Messages:
    220
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ialready tried the trick, but it says invalid filename, so can't upload
     
    chaukar, Apr 3, 2010 IP
  4. D3xter

    D3xter Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    Do you have the .htaccess file created and uploaded on your root folder ?
     
    D3xter, Apr 7, 2010 IP
  5. nimonogi

    nimonogi Active Member

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    80
    #5
    
    DirectoryIndex index.html
    
    Code (markup):
    The above should work if you have:
     
    nimonogi, Apr 10, 2010 IP