WebSite X5Help Center

 
Andy A.
Andy A.
User

Site not secure  en

Autor: Andy A.
Visited 3156, Followers 1, Udostępniony 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 ?

Posted on the
5 ODPOWIEDZI
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

Czytaj więcej
Posted on the from Paul M.
Andy A.
Andy A.
User
Autor

amwarkup.co.uk

Czytaj więcej
Posted on the from 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.

Czytaj więcej
Posted on the from 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" />

Czytaj więcej
Posted on the from Tayfun B.
Aleksej H.
Aleksej H.
Moderator

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

Czytaj więcej
Posted on the from Aleksej H.