Thursday, March 8, 2007

Rename htaccess.txt to be .htaccess in Windows for Joomla

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 xampp\htdocs\joomla_directory\htaccess.txt .htaccess

No comments:

XOZEX.blgospot.com does NOT store any files on its server. I only index and link to content provided by other sites! I don't take responsibility for any risk, Use All for Knowledge purpose Only.