07-20-2017, 07:34 AM
.htaccess file is a configuration file for use on web services running.When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software. .htaccess' is the filename in full, it is not a file extension. For instance, you would not create a file called, 'file.htaccess', it is simply called, '.htaccess'. This file will take effect when placed in any directory which is then in turn loaded via the Apache Web Server software.You can create a .htaccess file using any good text editor such as TextPad,Microsoft wordpad and similar.You can,t use notepad.