Discussion in 'White Hat SEO' started by iamtheroon, Jan 25, 2015.
can anyone tell me why .htaccess is install in site.
How to add .htaccess to my site?
read that, shidd !!!
The htaccess, among other things, is where you are going to implement redirects. Anytime a URL is requested it goes through the .htaccess first. Additionally, that's where you're going to put global rules for 'www' to non-www etc.
It is like a better version of robots enabling you to control a number of things. Including restricting access to your sites and redirecting various sections in a controlled way. It is also used to re-write urls.
Personally I use mine to setup my 404 redirects, and also to remove the extension from website urks it has many purposes
its the control unit of your website..
It is a control system file.you can create your own file.
you can use :http://kb.mediatemple.net/questions/1658/Using+.htaccess+files#gs
Its a simple text file at the root with that name without any extension. Not need but helpful for various commands.
Separate names with a comma.