[thelist] Joomla / custom forms / SEF

Brady Mitchell mydarb at gmail.com
Mon Oct 1 11:14:26 CDT 2007


On 10/1/07, Bob Meetin - www.dottedi.biz <bobm at dottedi.biz> wrote:
> This:
> ww.whatever.com/index.php?option=com_content&Itemid=30&id=16&lang=en&task=view
> about.php
> Now looks like:     www.whatever.com/index.php/about.php

That's probably as close as you'll get without some help from
mod_rewrite. Assuming you're using Apache and have mod_rewrite
enabled, put the following in a file named .htaccess and put it in the
top level Joomla directory:

RewriteEngine on
RewriteCond $1 !^(index\.php)
RewriteRule ^(.*)$ /index.php/$1 [L]

There's a good article about mod_rewrite on sitepoint:
http://www.sitepoint.com/article/apache-mod_rewrite-examples

Brady



More information about the thelist mailing list