WebSite X5Help Center

 
Andy A.
Andy A.
User

Site not secure  en

Autor: Andy A.
Visitado 634, Followers 1, Compartido 0  

Having uploaded our site, I now see in the browser it is telling me the site is not secure? Please could any one help on how to rectify this please ?

Publicado en
5 RESPUESTAS
Paul M.
Paul M.
Moderator

Hello Andy,

Which site do you refer to (can you provide a link please?) and exactly where in the browser do you see this message?  Is it to the left of the browser address bar?

Kind regards,

Paul

Search the WebSite X5 Help Center

Leer más
Publicado en de Paul M.
Andy A.
Andy A.
User
Autor

amwarkup.co.uk

Leer más
Publicado en de Andy A.
Paul M.
Paul M.
Moderator

This is because you are visiting the site via an unsecured protocol, i.e. http:

http://www.amwarkup.co.uk/

However, you already have a security certificate installed on your server, so it is possible to visit your site securely using the https protocol instead:

https://www.amwarkup.co.uk/

What you need to do here is ask your webhost to implement a permanent redirect so that any visitor requesting your site via the http prefix is automatically redirected via https

There are various ways of doing this, depending on the type and nature of your server, but your webhost will be able to advise you further and implement this correctly on your behalf.

Krystal Hosting - permanent redirects

This is a server/hosting issue, as opposed to a WebSite X5 issue.

Leer más
Publicado en de Paul M.
Tayfun B.
Tayfun B.
User

Hi Andy

1:

.htaccess

# Redirect HTTP with www to HTTPS with www
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule .* https://%1%{REQUEST_URI} [R=301,L]
# Redirect HTTP without www to HTTPS without www
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# Redirect HTTPS without www to HTTPS with www
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

2:

Add Canonical main page

<link rel="canonical" href="https://www.amwarkup.co.uk/index.html" />

Leer más
Publicado en de Tayfun B.
Aleksej H.
Aleksej H.
Moderator
Usuario del mes RU

Hello.Make sure that you have specified the HTTPS protocol in the export settings.

Leer más
Publicado en de Aleksej H.