I can't make this working. I tried many ways but no solving this. I have a .htaccess with routes all request to index.php. On the server is a SSL Cert that works only with www.domain.com, if you using the Internet Explorer and you type teh domain without www. so calls an SSL cert error.
This is why i need to force all requests to www.domain.com instead of domain.com
Now i have in .htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9-_\/]+) /index.php?path=$1 [QSA]
Do any have an idea how to solve this?
Thanks a lot.