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

  1. Opened .htaccess file and uncommented line with RewriteEngine On
  2. 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)
  3. 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

  1. Opened httpd.conf file in apache>conf folder
  2. Found this line LoadModule rewrite_module modules/mod_rewrite.so and uncommented it.
  3. Searched and replaced all AllowOverride None by AllowOverride All

IMPORTANT: Obviously save all files and RESTART apache.

This is it!

Powered by ScribeFire.

Leave a comment

Please be polite and on topic. Your e-mail will never be published.

You must be logged in to post a comment.