How to create .htaccess file in windows

Have you ever try to create .htaccess file in windows ?

You’ll see this error. You can’t create it using normal way you create other files.

htaccess_error.png

Using below method,you still can create .htaccess file in window. :D

C:\>echo testing create .htaccess file > .htaccess

That is only a dummy file which is apache server will not understand what you are talking about. So you need to add your real content and save the file as usual.

Update : The easier way to create .htaccess file in windows :

1. Open notepad
2. File->Save As and key in .htaccess
3. Save

If you're new here, you may want to subscribe to my RSS feed or get my latest post directly in your mailbox. Thanks for visiting !

Related Post:
  • HTTP 406 Error while posting using blogdesk.
  • Wordpress 2.5 - Upgrade my blog to new folder.
  • AutoIt - automate your task
  • How to Setup Your Web Development Server in 7 Minutes
  • Export SQL result to CSV file easily.



  • Can't find what you are looking for? Go Gooogle...
    Google

    Leave a Reply

      Enable CommentLuv which will try and parse your last blog post, please be patient while it finds it for you