Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Http To Https Issue Rate Topic   - - - - -

 

Posted 15 January 2018 - 08:00 PM #1

Hello,
 
I recently move to https and put this into my .htaccess:



RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.kayokokoswimwear.com/$1[R=301,L,NE]



Problem:

When I go to http://www.kayokokoswimwear.comit redirects fine, however when I go o a category or product that is non http it does NOT redirect... example:

http://www.kayokokos...inima-swimwear/

Any idea?
cs-cart 4.2.1

 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 558 posts

Posted 15 January 2018 - 08:36 PM #2

Hello,
 
I recently move to https and put this into my .htaccess:



RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.kayokokoswimwear.com/$1[R=301,L,NE]



Problem:

When I go to http://www.kayokokoswimwear.comit redirects fine, however when I go o a category or product that is non http it does NOT redirect... example:

http://www.kayokokos...inima-swimwear/

Any idea?

 

You don't need to edit the htaccess file. You have to enable the https protocol in your CS-Cart admin area, that's all.


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 

Posted 15 January 2018 - 08:37 PM #3

Sorry my version is 4.2
cs-cart 4.2.1

 
  • martfox
  • Member
  • Authorized Reseller
  • Join Date: 15-Jan 10
  • 558 posts

Posted 15 January 2018 - 09:12 PM #4

Sorry my version is 4.2

 

Doesn't have the V4.2 the "Security Settings" section under the "Settings"?


CS-Cart with 1 Year FREE Web Hosting | CS-Cart optimized SSD Cloud VPS Servers from €10.00/month
.
VPS SSD Cloud from €10.00 *** Dedicated Servers *** CS-Cart Authorized Reseller and Web Hosting Provider


 

Posted 15 January 2018 - 09:54 PM #5

Figured it out. Always put the rewrite code under the / and not below anything else.
cs-cart 4.2.1

 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3796 posts

Posted 16 January 2018 - 06:38 AM #6

Doesn't have the V4.2 the "Security Settings" section under the "Settings"?

 

There was no Secure full site option before 4.3.x

 

Figured it out. Always put the rewrite code under the / and not below anything else.

 

You can find the instruction for CS-Cart 4.2.x in the following article of the old documentation:

 

http://kb.cs-cart.co...tps-whole-store

 

Please pay attention to SEO add-on modification.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • becomarius
  • Senior Member
  • Members
  • Join Date: 09-Feb 12
  • 152 posts

Posted 25 January 2018 - 08:39 PM #7

Try to replace with this

 

# RewriteBase /
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Options -MultiViews

CS Cart lovers