htaccess force ssl for a particular domain
snippet in htaccess

htaccess force ssl for a particular domain

user6986

RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} exampledomain\.org$ [NC]
RewriteRule ^ https://www.examplemydomain.org%{REQUEST_URI}  [R=301,L,NE]