Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why using the htaccess file

Answer Posted / vijay

ht access file is quite useful for the following reasons:
1. If you're reorganising your site and moving pages around,
you can use the .htaccess file to redirect visitors from the
old page to the new one.
2. Another function of the .htaccess file is to allow you
to serve up pages which include PHP or Server Side Includes
(SSI) but whose file name still uses the .htm or .html
extension.
3. Allow or prevent directory browsing.
4. Because the server should check the .htaccess file
before anything is delivered to the client, you can use it
to password protect parts of your site.
5. You can also block various bots with the .htaccess
file — for example, you can keep some spammers out, or
prevent search engine spiders from indexing your images folder.

I hope this could help u.

Is This Answer Correct ?    13 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are php sessions cookies?

967


How could I install codeignitor ?

2230


How to remove white spaces from the beginning and/or the end of a string in php?

987


What is the $_ server php_self variable?

1013


What is the meaning of die in php?

991


What is difference between explode() or split() in PHP?

959


How is csrf token generated?

992


What is the difference server side and browser side validation?

1009


How to create a mysql connection in php?

988


Can you define an array argument as a reference type?

925


What is the use of return in php?

918


Tell me what is needed to be able to use image function?

984


Does mysql need php?

921


How would you declare a function that receives one parameter name hello?

976


What is the main difference between require() and include()?

981