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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.