WebSite X5Help Center

 
Panagiotis P.
Panagiotis P.
User

Problem with ssl (secure connection)  en

Author: Panagiotis P.
Visited 66, Followers 1, Shared 0  

On my site www.mathimatikiskepsi.gr I want to appear https://www.mathimatikiskepsi.gr (secure connection) even if they type http://www.mathimatikiskepsi.gr or mathimatikiskepsi.gr or whatever else to type, which it does not happen even though something like this appears in Cpanel. What happens is it opens with an insecure connection and becomes a deterrent for the customer to fill in data.

In communication I had with the host that hosts my website, they said the following:

In a test we performed, we noticed how ssl was released.

In the Cpanel / control panel you can select the SSL / TLS Status option and notice that ssl is active and running normally.

The problem is probably at the level of web developers and programmers can not make use of the ssl that has been issued.

As for what actions need to be taken, it depends on the structure of your page and the systems you use. You should contact the developer who designed your page as he has a complete view of your systems.

I expect an immediate solution to my problem and thanks in advance.

Panagiotis

Posted on the
1 ANSWERS - 1 USEFUL
Franz-Josef H.
Franz-Josef H.
Moderator

If your provider does not have the option to force the redirection to the https page, you have to create a .htaccess file. To do this, use the Windows editor to create a file with the following content:

RewriteEngine On

RewriteCond% {HTTPS}! = On

RewriteRule ^ https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]

Save this as htaccess.txt. Then rename it to .htaccess (yes, the point must be in front) and load it into your server directory. This forces  every call to your site is automatically directed to the https site. 

Read more
Posted on the from Franz-Josef H.