WebSite X5Help Center

 
Gianluca M.
Gianluca M.
User

Ssl certificate redirect  en

Autor: Gianluca M.
Visited 3128, Followers 1, Udostępniony 0  

Hi i found that answer about editing the  .htaccess file for redirecting my website from http to the https://

my website is www.ombrettaparga.eu

what do i have to write on the {SERVER_NAME}%{REQUEST_URI}  ???????

#Redirect HTTP to HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

thank you for your assistance

Posted on the
4 ODPOWIEDZI
Gianluca M.
Gianluca M.
User
Autor

I am using a linux hosting, so i would be grateful if you could guide me also on the creation of the .htaccess file and where i have to put it on the file manager.

Thank you again for your help!!

Czytaj więcej
Posted on the from Gianluca M.
Incomedia
Claudio D.
Incomedia

Hello Gianluca,

For this type of question you need to contact the support of your  hosting provider since this is a hosting issue and they will be able to help you further since the program is not generating .htaccess files and these needs to be ccreated on the hosting space directly.

Many thanks!

Czytaj więcej
Posted on the from Claudio D.
Akvarius Med Kft.
Akvarius Med Kft.
User

Hello, my problem:

SSL certification, green lock before URL,

If I write my webpage www.akvariusgaleria.hu, than move http://www.akvariusgaleria.hu

if I write my webpage https://www.akvariusgaleria.hu , than OK green lock) (my hosting made it)

My hosting wrote me: A .htaccess file must be copied to (or amended) corresponding to the domain name names the root directory. at the beginning of the file should be the next:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://www.%{SERVER_NAME}%{REQUEST_URI} [R,L]

Asking: How to make my site compatible with https?

I have Website X5 prof 13 softver.

Thanks for helping

Best regards,

Laszlo Sztojno

Czytaj więcej
Posted on the from Akvarius Med Kft.
Incomedia
Claudio D.
Incomedia

Hello Akvarius Med Kft.,

After having made thee .htaccess file like your hosting suggested you in the program changethe URL in step 1 by addinh https:// instead of http:// and export it online.

Many thanks!

Czytaj więcej
Posted on the from Claudio D.