Problem with my Https
Автор: Gabriela R.
Просмотрено 1156,
Подписчики 1,
Размещенный 0
Dear Incomedia
I do have a problem with my Https. My host one.com told me, that this might be a problem with my x5 pro
Can you please help me to upload my website with https and ssl secure to my host one.com? Or is it not neccessary to do it and can it be done on ftp only and still be secure?
I just want that when my clients open the website, that it does not first say “not secure”
Any chance of help please
Regards
Gabriela
Размещено
Add this to you .htaccess
# BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.11]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# END rlrssslReallySimpleSSL
Автор
I did that, thanks E.G. Teljeur, but it did not work. The following is hapening all the time? What can be done? or do I do something wrong?
Автор
If I click on yes to really upload the website, then the .htaccess switches back to FTP and the website shows "not secure". Does my website actually shows not secure with you aswell? it is www.kreativhuset.one. could you please try for me?
thank you very much
regards
Hi Gabriela,
your website is working in https mode, which means secure. The popup message regarding the modification of the .htaccess file, is only realted to the internal link to your own error404.html file. It is not a warning, it is an info and its ok to press yes.
Regards Martin
#DICA
Agora está funcionando, bacana!
O Script que uso força o SSL (https) e abre sem dar erros as páginas sem usar a extensão
Nesse link seu ao invés de dar erro iria funcionar perfeitamente (https://www.brucreatief.nl/crafts) e isso ajuda muito pra divulgas as páginas sem usar a extensão HTML, PHP, etc.
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://nomedosite.com.br/$1 [R,L] ---> AQUI COLOQUE SEU DOMINIO
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php