Modifying .htaccess for WAMP in windows environment

Sometimes when want to use SEO friendly link, we got to modify mod_rewrite module in httpd
config file.

However in Joomla running on WAMPSERVER ( windows Apache, MySQL, PHP ) , the file was initially named as htaccess.txt

In order to make it work, the file shall be renamed to .htaccess instead.

Here is where the problem appear. when use “Windows Explorer” to rename this file
from “htaccess.txt” => “.htaccess”

Windows would complain as following : “You must type a file name. !”

Solutions :

use the “command prompt”
by pressure “Windows button” + “R” , type in cmd.

and type the following to change the desired folders :

cd D:/foldername

then.. the renaming above file would be as simple as

rename htaccess.txt .htaccess

Done renaming , then proceed to edit with your favourite text editor as usual.
Which , I personally prefer to use Notepad++

Get Free Email Updates!

Signup now and receive an email once I publish new content.

I will never give away, trade or sell your email address. You can unsubscribe at any time.


Related Post

3 Responses

  1. Joey says:

    Hi there would you mind stating which blog platform
    you’re working with? I’m looking to start my own blog
    in the near future but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m
    looking for something unique. P.S Apologies
    for being off-topic but I had to ask!

    • Namran Hussin says:

      Hi Joey,
      At the moment am using wordpress as my blogging platform.
      So far am I feel comfortable with it.

      I did tried few other platform before but doesn’t last long
      Enough for me to know inside out about each one.

      Hopefully that would help.
      Thanks for dropping by.

  2. recycled business card paper says:

    Hello! I simply want to give an enormous thumbs up for
    the nice info you will have here on this post. I might be coming back to your blog
    for extra soon.


Anything to add?