.htaccess file or configuration file provide a way to make
configuration changes on a per-directory basis. A file that containing one or more
configuration directives, is placed in a particular document directory.
How to Create a .htaccess File?
Open any text editor application or notepad and file save as with .htaccess name. Enable mod_rewrite extension in php.ini file in Apache Web Server configurations if disabled.
RewriteEngine On it is turn on Rewrite Rules in Apache Server.