Forum Moderators: phranque
I have a website that sells widgets, and is experiencing the www / non www issue.
However, when I use the htaccess code supplied here to redirect non www to www, then the shopping cart I use fails to work properly:
Item page:
www.widgets.com/store/cart.php?xid=someid
Nornally clicking "buy now" clicking transfers to
[widgets.com...]
However, because this redirect is in place, orders cannot process with the htaccess setup this way.
Is there a workaround for me for https:// addresses, possibly an IF statement in the htaccess file that allows one to transfer to https:// without the htaccess automatically redirecting to www?
I appareciate all opinions and solutions here
Regards
CainIV
RewriteCond %{SERVER_PORT} !443 That's your 'if' ;)