Author Topic: question about ssl  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

question about ssl
« on: July 07, 2019, 07:35:36 PM »
i have cwp and i have user domain in that
now i run ssl and i have it in this domain and i want to run wordpress:

and its run in http:

now what should i do?

redirect http to https?

and wich one is better?

1-just have https
2-have http and https and redirect http to https

and how should i do thats?

sorry if it is very simple question
i really dont know what to do

plz help me

Re: question about ssl
« Reply #1 on: July 07, 2019, 10:58:01 PM »
Create an .htaccess file in your docRoot and add the following:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^ [NC,OR]
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [L,R=301,NC]

But please Change every instance of to your WordPress URL