I am using
Joomla 1.5.9
Virtuemart 1.1.2
sh404SEF
I am using .htaccess to force all URLs to https because I consistently had problems with my cart not passing items back and for from SSL. Also forcing www
$livesite is set to
https://www.mydomain.comI want to use .htaccess to redirect all requests to https EXCEPT for the homepage
www.mydomain.com - leaving that
http://www.mydomain.comI have managed to get htaccess to do this, but then I get a 404 error presumably from $livesite being set to https
here is part of my htaccess
Code:
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mydomain.com/$1 [R,L]
If I add this
Code:
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com$ [NC]
It will go to
http://www.mydomain.com but I get a 404 error (Joomla level, not server)
I need to do this because I have some linked content on the homepage (youtube) that causes errors on more secure machines and on blackberrys wont load at all because of https: