Joomla on XAMPP with SEF enabled
In order to make your URLs in Joomla a bit more understandeble you need to do the following
a. enable modrewrite module in apache
b. tweak Joomla’s .htaccess file
This is how I did it:
.htaccess tweakes
- Opened .htaccess file and uncommented line with RewriteEngine On
- Changed RewriteBase / to RewriteBase /joomla_installation (where joomla_installation is a subfolder of htdocs and is a folder where I installed my copy of Joomla cms)
- Changed RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] to RewriteCond %{REQUEST_URI} ^(/joomla_installation/component/option,com) [NC,OR]
The rest of the .htaccess file should stay the same.
httpd.conf tweaks
- Opened httpd.conf file in apache>conf folder
- Found this line LoadModule rewrite_module modules/mod_rewrite.so and uncommented it.
- Searched and replaced all AllowOverride None by AllowOverride All
IMPORTANT: Obviously save all files and RESTART apache.
This is it!
Powered by ScribeFire.