Skip to content


Creating .htaccess on Windows

Ever had issues creating an htaccess file on your windows machine? Well heres a quick way to create it and to make sure your .htaccess file is valid for the system.

  • open a command prompt - start->run->cmd is probably the easiest way
  • browse to the folder you want by using a combination of cd (change directory) and dir (list files/directories)
  • type in the following command…

copy con .htaccess [Enter]

And thats all there is to it. The blank .htaccess file will be created. Good to go. Now you can enter in your redirects and mod_rewrite rules to make sure your site is search engine friendly! Edit with notepad or something similar.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • E-mail this story to a friend!
  • Fark
  • Reddit
  • StumbleUpon

Profile:  Frank has been programming for the web using PHP, Javascript and numerous libraries and frameworks for the past 5 years. More articles.

Posted in SEO. Tagged with , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.