My rewrite rules.
----
<IfModule mod_rewrite.c>
RewriteEngine On
#[ FORCE WWW ]#
RewriteCond %{HTTP_HOST} ^(domain\.com)$ [NC]
RewriteRule ^(.*)$ http://www.%1/$1 [R=301,L]
#[ SET BOOT ]#
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{DOCUMENT_ROOT}/ROOT%{REQUEST_URI} !-f
RewriteRule ^(.*)$ /CONF/boot.php/$1 [QSA,L]
#[ SET ROOT ]#
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteRule ^(.*)$ /ROOT/$1 [QSA,L]
</IfModule>
--
My Question.
Is it possible to force both a www if its missing and remove a trailing slash (considering it is not a directory "!-d"), with a single rewrite rule.
You can forget about the #[ SET BOOT ]#, #[ SET BOOT ]#