WebSite X5Help Center

 
Francis M.
Francis M.
User

Upgrade existing site to https  en

Автор: Francis M.
Просмотрено 328, Подписчики 1, Размещенный 0  

bridesofeire.com

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

………..

Размещено
1 Ответы
Daniel W.
Daniel W.
User
Лучший пользователь месяца DEЛучший пользователь месяца 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]

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

Читать больше
Размещено От Daniel W.