What is .htacess file?

.Htaccess file in your website is very important because it is used to control and modify some specific actions on your website. It can perform several changes on SEO (Search Engine Optimization), navigation, optimization of loading times and the security of your website.
 
A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration. They are placed inside the web tree, and are able to override a subset of the server's global configuration for the directory that they are in, and all sub-directories.

The original purpose of .htaccess—reflected in its name—was to allow per-directory access control, by for example requiring a password to access the content. Nowadays however, the .htaccess files can override many other configuration settings including content type and character set, CGI handlers, etc.
 
htacess is directory-level configuration file for Apache server. You can have multiple htaccess files for each folder. Basically it's used to override a subset of the server's global configuration.
 
The file .htacess allows for decentralized management of web server configuration.
 
htaccess. file is an directory level file to configure and control website information. It can overwrite predefined instructions with different type of instructions to run. With this file, we can send instructions to the browsers and search engine bots as required.
 
Back
Top Bottom