WebSite X5Help Center

 
Francis M.
Francis M.
User

Upgrade existing site to https  en

Autor: Francis M.
Visited 678, Followers 1, Udostępniony 0  

bridesofeire.com

I have an existing site as above.  Google Search  Console says that there are still references to http as follows:

………..

Posted on the
1 ODPOWIEDZI
Daniel W.
Daniel W.
User
Najlepszy Użytkownik miesiąca EN

Either there is a tick in the customer area of ​​the domain or web hosting provider...

[x] Force SSL

... or there needs to be a file called .htaccess that contains a redirect code from http to https.

The .htaccess file is uploaded (exported) to the main directory of the web space, either via WebSiteX5's FTP window (see screenshot below) or via an external FTP program.

------ Code für .htaccess file -----

RewriteEngine On

RewriteCond %{SERVER_PORT} !=443

RewriteRule ^(.*)$ https://example.com/$1 [R=301,L]

-----------------------------------

Czytaj więcej
Posted on the from Daniel W.