5 Ocak 2013 Cumartesi

Create .htaccess file in Windows

If you are trying to do something like SEO (Search Engine Optimization), sometimes you need to use .htaccess file. In linux you can create this file and won't be any problem but in windows you can't create it directly.

You will get an error “You must type a filename” if you try. To create .htaccess in windows


1-)Open any text editor.
2-)Put in your .htaccess content.
3-)Go to file->save as, and put ".htaccess" for the filename, including the quotes.

It is important to include the quotes to tell it the file should literally be .htaccess.