Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    oldeesee is offline Junior Member
    Join Date
    Jun 2008
    Posts
    7

    Default What is .htaccess and how can it help me with Google?

    What is .htaccess and how can it help me with Google?

  2. #2
    konna2008 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default Re: What is .htaccess and how can it help me with Google?

    What you can do with your .htaccess totally depends on your site and server. For example if you have such URLs (www.domain.com?category=22&product=12) you may turn them into www.domain.com/apparel/tshirts/yourproduct
    All translation could be done using the .htaccess file.

  3. #3
    auryn is offline Master Member
    Join Date
    Jan 2011
    Posts
    297

    Default

    The usage of .htaccess:

    Authorization, authentication
    .htaccess files are often used to specify the security restrictions for the particular directory, hence the filename "access". The .htaccess file is often accompanied by a .htpasswd file which stores valid usernames and their passwords.[3]
    Rewriting URLs
    Servers often use .htaccess to rewrite long, overly comprehensive URLs to shorter and more memorable ones.
    Blocking
    Use allow/deny to block users by IP address or domain. Also, use to block bad bots, rippers and referrers.
    SSI
    Enable server-side includes.
    Directory listing
    Control how the server will react when no specific web page is specified.
    Customized error responses
    Changing the page that is shown when a server-side error occurs, for example HTTP 404 Not Found.
    MIME types
    Instruct the server how to treat different varying file types.
    Cache Control
    .htaccess files allow a server to control caching by web browsers and proxies to reduce bandwidth usage, server load, and perceived lag.
    .htaccess - Wikipedia, the free encyclopedia


 

Similar Threads

  1. Replies: 14
    Last Post: 2013-05-09, 04:55 AM
  2. HELP! my .htaccess and .htpasswd doesn't work
    By lchiang in forum Beginners
    Replies: 3
    Last Post: 2009-04-13, 12:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts