.htaccess file helps a lot in web development. This is not a usual type of file so I’ll make this short article to help everyone to create .htaccess.
You can use any text editor, the notepad on windows is the easiest way to start with.
- open notepad.
- paste the code that you need
- save it as .htaccess not .htaccess.txt
- upload or save the file on your root directory
Now you’re done!