#Rewrite secure requests properly to prevent SSL cert warnings, e.g. prevent #https://www.jinini.com when your cert only allows https://secure.jinini.com RewriteCond %{SERVER_PORT} !^443 RewriteRule (.*) https://jinini.com/$1 [R=301,L] # The Friendly URLs part RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]