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

One Response

  1. namran says:

    Note: Installation of NX Server for Linux requires the download and installation of three packages: client, node and server. The client is needed because it ships libraries used by the node. The node is needed because it ships tools needed by the server. Furthermore, the SSH server daemon (SSHD) needs to be up and running on each of the NX Node machines since NX relies on the mechanism provided by the SSH subsystem for handling user authentication.


Anything to add?