<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^img-([0-9]{1,4}|bautob)?-([0-9]{1,4}|bautob)?/(([A-Za-z0-9/_-]+).(jpg|gif|png))?$ resize.php?width=$1&height=$2&imgfile=$3
# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{HTTP_HOST} ^www.sandrabranco.com$ [NC]
RewriteRule ^(.*)$ http://sandrabranco.com/$1 [R=301,L]
</IfModule>