X
    Categories: Windows

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++

Namran Hussin: a soft spoken guy... with exceptional interest in computers and technology. I love to learn new thing and also love to break thing for the sake of learning.. but I do abide to the self-imposed limitation or certain thing such as social thing in life, thing can be done and thing that must be avoided at whatever cost such as drug,illegal tracking, smoke,illicit activity..etc.muahahaha let's share what we had in this short term of the life.! make it worth of the living.~
Leave a Comment