In default Joomla 1.5 installation, there is a file named htaccess.txt. This file will be used if we use Joomla SEO, that is option Use Apache mod_rewrite. Before it can be used, this file should be renamed to .htaccess. In Linux OS, this case is not a big problem, because it allows creation this kind of file (file name is started with “dot” character). For Windows user this case is a problem, because Windows doesn’t allow creation this kind of file. If we force it, then a warning is appear like shown below:
In order to rename htaccess.txt to .htaccess, we could do it through command prompt. Syntax:
ren [htaccess.txt directory]\htaccess.txt .htaccess
Example:
ren DaGu\htdocs\joomla15\htaccess.txt .htaccess
That’s it!
Related posts:









February 12th, 2009 at 5:14 pm
Even after I rename it I am having a problem that my links were not working
February 26th, 2009 at 10:47 pm
@maruthy
Are your apache mod_rewrite active? If not, you need to activate it first. Please check my article about activate mod_rewrite in apache
June 21st, 2009 at 1:10 am
Just stumbled here from another danigunawan.com page…
Other than the rename from dos prompt which I use regularly… Try your FTP client.
Sometimes this is quicker if its only an Alt-tab away and already in the right directory (i.e. when mirroring/migrating/yada from remote to localhost)
Probbly the FTP client use the cmd.exe anyway so this actually -is- the same
July 15th, 2009 at 5:33 am
Thank you!..
November 2nd, 2009 at 8:36 pm
Tks for u help, i aprecciate this :)
December 17th, 2009 at 6:04 am
Thanks for the help, I’ve bookmarked this.
On a side note, I’d suggest you type the test from the images somewhere in the page (perhaps below) so that people searching for that text find you page, ie : You must type a file name. There I just did for you ! :)
April 15th, 2010 at 10:58 pm
@davetanguay , I have installed my Joomla through Xampp.
My site folder addrees is
C:\xampp\htdocs\MarketPlace
and when i rename my file in command prompt as
c:\ren c:\xampp\MarketPlace\htdocs\htaccess.txt .htaccess
and when i open my site on every menu click its showing me a page as
http://localhost/xampp/
Congratulations u have installed Xampp.
What happened? Am in wrong in renaming the file. i have also make all the settings in Global Confi as yes for SEO.
April 15th, 2010 at 10:59 pm
I posted this message for every one who hv succesfully done this. Pls help
May 12th, 2010 at 5:32 am
Thanks a lot!!!!
June 27th, 2010 at 9:50 am
i can;t rename plz upload .httacces in zip
July 16th, 2010 at 10:54 pm
thanks…finally I find how to do it….
July 27th, 2010 at 10:28 am
Thanx more!
I have never heard it.
August 15th, 2010 at 8:00 pm
This article is very useful, I have been looking for, thank you.Very good!
October 1st, 2010 at 8:46 pm
Dylan, so simple and yet effective! Thank you!
October 11th, 2010 at 3:44 am
Thank for your info,,, :)
January 25th, 2011 at 12:37 am
ru, correct path should read:
c:\ren c:\xampp\htdocs\MarketPlace\htaccess.txt .htaccessWorked for me!
January 27th, 2011 at 7:03 pm
Reply:
##################################################
#ru
#April 15th, 2010 at 10:59 pm
#I posted this message for every one who hv succesfully done this. Pls #help
###################################################
This is probably because you didn’t change the “RewriteBase /” value inside the .htaccess file. try open .htaccess, find “RewriteBase /”, and change it to “RewriteBase /(you site folder)”. for example: RewriteBase /joomla
December 25th, 2011 at 3:41 am
thanks a lot for the post. it is really helpful. but i want to know more about joomla 1.6 SEO for my site.
February 4th, 2012 at 9:16 pm
Thanks for your wrote. Its very helpful.