Upgrade existing site to https
Автор: Francis M.
Просмотрено 671,
Подписчики 1,
Размещенный 0
bridesofeire.com
I have an existing site as above. Google Search Console says that there are still references to http as follows:
………..
Размещено
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]
-----------------------------------