How to Make .htaccess file?

.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.

  1. open notepad.
  2. paste the code that you need
  3. save it as .htaccess not .htaccess.txt
  4. upload or save the file on your root directory

Now you’re done!

*Some links may contain affiliate links. I may get small commission from your purchases to fund this website and to avoid annoying ads.