Hi, any apache masters here please let me know if this is optimized. I'm particularly interested if I can have 2 RewriteEngine On bits, or maybe both can go under one roof? which way is better? please let me know if there is better way of having modrewritten urls and also make non www -> www. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} !www.sandrophoto.com RewriteRule ^.*$ http://www.sandrophoto.com%{REQUEST_URI} [R,L] RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPress