.htaccess

Discussion in 'Programming' started by diaboly, Aug 20, 2006.

  1. #1
    hi,
    Anyone can explain what is mean by .htaccess? why it is used, and How can i use?:confused:
     
    diaboly, Aug 20, 2006 IP
  2. mihd

    mihd Peon

    Messages:
    136
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    http://en.wikipedia.org/wiki/Htaccess
     
    mihd, Aug 21, 2006 IP
    daboss likes this.
  3. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #3
    tis a life saver - and in teh SEO world - i strongly advise using it for the mod rewrite (if your on apache that is)
     
    ccoonen, Aug 21, 2006 IP
  4. connectmobiles

    connectmobiles Peon

    Messages:
    556
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    .htaccess is a file placed along with other files and folder on your server..

    It basically helps in several wayz.. it reworks complicated urls and helps your visitors.. see a simple URL.. A large number of ppl use it for redirecting purposes..

    Basically, an .htaccess helps you specify a particular URL on which you can tell the server, the content to be displayed from another page..

    FOr eg.. if you type www.yourdomain.com/xyz/ it can display the same content that is displayed in www.yourdomain.com/index.php?c=1
    1. This helps you get rid of the junk characters like "?", "=", etc.. which are hated by Search ENgines
    2. It makes your URls esy to read and access for your visitors..
     
    connectmobiles, Aug 22, 2006 IP
  5. Brilliances

    Brilliances Active Member

    Messages:
    619
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    60
    #5
    To me, the .htaccess is a file that the apache webserver looks for everytime it serves a file . You can use it to control how apache handles particular url requests. eg. password protect folders, redirect requests, rewrite the url that was requested for, block certain referrers, and so on...
     
    Brilliances, Aug 22, 2006 IP