How To Create .htaccess File in Windows

Written by Pavan Kumar on January 16, 2009


Well, there are few windows tricks dealt here. You know how to make completely hidden folder or rename multiple files. This one is little geeky and not related with everyone who use windows. This would be useful for those who run a web server software or install wordpress on PC. The normal way we create a htaccess file is that we make a name.htaccess file, upload it to server and rename it there with our ftp softwares. Here is how you can do it on windows.

Try to create it the normal way you do for any other file on explorer. Yeah, I mean the right click > create > rename method. It wont work and you will be popped up with a warning "You must type a file name". Now, you can’t make it name.htaccess and rename it :( .

windows error

In this case, open notepad. File > Save As.

In the file name type .htaccess, and in type make it to All Files. Click Save. You are done! That’s it :)

Save .htaccess file in windows


Subscribe to RSS Feed or Get updates on your inbox:

People who liked this also read:

Category: computer, internet



7 Readers responded to this post

Exactly what I needed! Thanks so much!

Thanks, that helped! The trick worked.

Thanks for this tip – it helped me today!

Good trick!! Cheers.

Thanks It works fine

Thanks for this post I was getting really frustrated trying to rename a file before I came accross this Thanks for the help

you are awesome
really great help there thank you very much

3 Blog responses for this post
Leave Your Comments Below / Trackback

About The Author

    Pavan Kumar

    Pavan Kumar completed Engineering in Electronics and Communication in the year 2008. He is very enthusiastic and keen to work on different aspects of computer, internet and mobile related fields. The articles here reflect his creativity. This blog was started as a showcase of solutions for different problems and today it has got a good reputation in the blogosphere. Read More...

© 2015 - All rights reserved.

All content provided in this site are the property of and is free for non-commercial usage. Read our Privacy Policy here.

Any kind content on this site cannot be reproduced in any form without permission of the author. We are not responsible for any loss or damage which may occur due to any of our content.

Site hosted on Bluehost powerful servers.