Ssl And Site Redirects?

liunx

Guest
Hi there,<br /><br />I'm looking to redirect my users on my site to my SSL at mywebsite.com instead of the <!-- w --><a class="postlink" href="http://www.mywebsite.com">www.mywebsite.com</a><!-- w --> that they have been shopping on. <br /><br />1) I understand the .htaccess code below will redirect all pages to the https - is that necessarily a bad thing? Or should I have it just redirect the shopping cart/checkout and my account options?<br /><br />htaccess Code:<br /><!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->RewriteEngine On<br />RewriteCond %{SERVER_PORT} =443<br />RewriteRule ^ https://tchdomain.ext%{REQUEST_URI} [R,L]<br />RewriteCond %{SERVER_PORT} !=443<br />RewriteRule ^ http://tchdomain.ext%{REQUEST_URI} [R,L]<!--c2--></div><!--ec2--> <br /><br />2) If it should just redirect the shopping cart/checkout and my account, how do I modify the above code to do this?<br /><br />Thanks in advance!<br />Michelle<!--content-->
Nevermind - thanks anyway - I got it!<!--content-->
Nice to see we have more family members talking to themselves. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /><br /><br />Glad you got it sorted out. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
 
Back
Top