.htaccess? What is the importance of it?

Discussion in 'Search Engine Optimization' started by jumong79, Mar 20, 2007.

  1. #1
    Does is it only used mainly for 301 redirect? or for other purposes? can anyone please tell me the other use of .htaccess? Thanks.
     
    jumong79, Mar 20, 2007 IP
  2. hillord

    hillord Well-Known Member

    Messages:
    2,211
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Well,

    you can use .htaccess to block , allow certain ip address that you dislike.

    Another common use for ".htaccess" files is to require that a user id and password be provided to access some part of a web site

    Hope this helps! :p
     
    hillord, Mar 20, 2007 IP
  3. Bagi Zoltán

    Bagi Zoltán Well-Known Member

    Messages:
    364
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #3
    .htaccess gives the opportunity to rewrite the dynamic urls (contain ? = symbols) into a more search engine friendly static form. This is one of the biggest advantages of it.
     
    Bagi Zoltán, Mar 20, 2007 IP
  4. sabian1982

    sabian1982 Notable Member

    Messages:
    2,028
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    210
    #4
    You can also do things like... if someone requests a bad url instead of getting a 404 they get automatically taken to your root site (or specified site url).
     
    sabian1982, Mar 20, 2007 IP
  5. sonicdark

    sonicdark Peon

    Messages:
    95
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    sonicdark, Mar 20, 2007 IP
  6. jumong79

    jumong79 Banned

    Messages:
    351
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    So it means it is a text file in your directory where you put all the necessary security and other stuffs to manage your website....
     
    jumong79, Mar 20, 2007 IP
  7. sonicdark

    sonicdark Peon

    Messages:
    95
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes, but not a txt file

    Text inside the file but named .htaccess
     
    sonicdark, Mar 20, 2007 IP