WebSite X5Help Center

 
Imraan A.
Imraan A.
User

How do you redirect the http site to https as there is no .htaaccess file to edit  en

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

This is the code given to me by my hosting service provider to insert in the .htaacces file

RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 

X5 does not generate an .htaaccess file to edit by adding the above code so when someone goes to the webstie they automatically directed to the secure site https.

Размещено
1 Ответы - 1 Полезно
JJ. JUAG
JJ. JUAG
User

Most servers today offer automatic forwarding to https without .htaccess. For example with plesk. If this is not possible with your hosting, you can create the file with an editor and load it onto the server.

JJ.

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