I am trying to use WooCommerce’s “Force secure checkout” and “Force HTTP” features to force HTTPS only on checkout page. Following this instructions- ssl-and-https and Checkout Process.
Once I done this settings, its forcing checkout page on HTTPS but when I go back to other pages they also starts showing on HTTPS. I only want checkout page to be displayed on HTTPS, and moving out of this page automatically should display on HTTP.
I also try to change .htaccess
file as given here, but it does’t work.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
</IfModule>
Step 1: In your WordPress administrator dashboard, go to Settings -> General and change both URLs to have http:// rather than https://.
Step 2: These site asset files can easily be corrected by fixing the rewrite rules in your .htaccess file found at the root of your WordPress application.
Step 3: check this checkbox