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:

    Error while renaming htaccess.txt to .htaccess

Error while renaming htaccess.txt to .htaccess

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:

  1. Joomla! 1.5 SEO
  2. How to Create Environment Variables in Windows
  3. Joomla Database Crash
  4. Joomla! Won "Best CMS Award" (Again)

Tags: , ,

7 Responses to “Rename htaccess.txt to be .htaccess in Windows”

  1. Even after I rename it I am having a problem that my links were not working

  2. @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

  3. 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

  4. Thank you!..

  5. Tks for u help, i aprecciate this :)

  6. 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 ! :)

Trackbacks/Pingbacks

  1. Joomla! 1.5 SEO | It's About Dani Gunawan

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>