Control Web Panel
WebPanel => SSL => Topic started by: yeknafar on July 23, 2018, 04:07:25 PM
-
Hello
Thanks for your attention
When we change our webserver we have to change the SSL settings?
I want to have SSL on Wordpress. It's OK with Apache but when I install Apache+Nginx+Varnish it does not work correctly.
-
What error you get. I tried to replicate the same thing on one of the server but cant find any issue.
-
Thanks for your answer
The main problem is force SSL./
I wanted to use this manual:
https://www.wpbeginner.com/wp-tutorials/how-to-add-ssl-and-https-in-
wordpress/
I did not get any result and after adding the codes that he mentioned to the
.httaccess the site does not work but when I vhange the http to https in
"option" part of the database without using any code it behaves differently
on each subdomain.
On one subdomain http forces to https and on the other subdomain it doesnot
happen at the same situation and and setting.
Take a look at these subdomains please:
http://blog.salamzaban.com
http://level.salamzaban.com
Level subdomain goes to https but blog subdomain doesnot go to https automaticly.
Thanks
-
Thanks for your attention and answer.
Just now I did it.
The problem was the code that I used for htaccess .
I use this now:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress