-
- 19 Posts
Try this. I was out partying last night, so I need to have another look at this later today I guess
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php$
RewriteRule ^(.*)\.php$ /$1.html [L]
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
This should rewrite all .php requests except to /index.php to .html and then taken care of by MODx by index.php.
Johnny Chadda
http://johnny.chadda.se
"This is a UNIX virus. Please remove all your files and copy this message to friends."