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
What is lamp in php?
How to terminate the execution of a script in PHP?
What is the difference between characters 23 and x23?
How to access a specific character in a string using php?
What is session_register()?
Can we use php variable in javascript?
What is php and sql used for?
What are the uses of explode() and implode() functions?
What is php beginner?
What is c++ polymorphism?
what is the current salary package in India for a PHP programmer who has 1.5 years experience
What are getters and setters php?
Is null in php?
Explain the difference between mysql_connect and mysql_pconnect?
What are the popular frameworks in php?