SSL
Author: Volkan A.
Visited 2171,
Followers 2,
Shared 0
hello, how do i make my website secure. where should i add ssl certificates.
Posted on the
hello, how do i make my website secure. where should i add ssl certificates.
SSL certificates are added in your hosting panel - manually or by guys from hosting company. Free SSL - Let's Encrypt - https://letsencrypt.org/
And add below lines to htaccess file.
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Author
Thx.
o website X5, quando voce informa na publicação, (exportar) que o domínio é https://www
ele já deve gerar o código automático, certo? ou eu estou errado?
RewriteEngine On
RewriteCond% {HTTPS}! = On
RewriteRule ^https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]
** GT **
the X5 website, when you inform in the publication, (export) that the domain is https: // www,
it should already generate the automatic code, right? or am i wrong?
RewriteEngine On
RewriteCond% {HTTPS}! = On
RewriteRule ^ https: //% {HTTP_HOST}% {REQUEST_URI} [L, R = 301]
Yes, programm makes correct links with https. This code is for redirect from http to https - usefull if the old website was http://
hello
in the htacess file that i can fine in the directory www (right?) where shall i write this code?
Olivier, in my account I simply added
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Either before or after any other content in the htaccess file
hello Esahc
the problem is i know i can find htacess in the directory www when i want to export but it does not let me to write anything
how can i get access to this file another way?
thank you !!
The simplest way is to download .htacess to local disc, edit (e.g. by notepad) and upload in the same place at server with overwritting the old one.
thank you, and how do i copy or upload the modified .htaccess back in the directory?
by filezilla or other ftp client.
thank you
that might be the solution, but filezilla when connecting show as 530 error, another problem adding to this one ...:)
Salut Olivier,
Possible directly from the software export window:
@+, J.P.
that would be actually the best, but how do i modify from the software the content of .htaccess? or how can i import it
merci !
please how do i import again in the website the .htaccess modified in the notepad without using an extern ftp that showserrors? thank you again to help on this importznt subject as we want our website to be secured and then have a better seo
Olivier
I assume you worked out how to select and save .htaccess locally
I also assume you were able to open and edit it in notepad then save it
After you have done so, select the file and upload it thru FTP in WX5
I would then exit the project and reload it, under some circumstances (eg 404 redirect) WX5 modifies the .htaccess file (as found on the host) to accomodate your changes/request. It does this by reading the existing htaccess file and embedding the changes required.
Until recently I always used Filezilla for this functionality - I did not realise that WX5 works quite well.
hello, actually my host did everything, i did not have to modify this file
we are happy so far
thank you !