Http To Https Issue

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.kayokokoswimwear.com/brands/bikinima-swimwear/

Any idea?

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.kayokokoswimwear.com/brands/bikinima-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.

Sorry my version is 4.2

Sorry my version is 4.2

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

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

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.com/https-whole-store

Please pay attention to SEO add-on modification.

Try to replace with this

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

i use both but new firefox mozilla etc if write in bar sitename.com redirect http://sitename.com and give "this site is not secure" .

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

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