diff --git a/.htaccess b/.htaccess
index 1621a1f5d9..e334d1797c 100755
--- a/.htaccess
+++ b/.htaccess
@@ -91,3 +91,25 @@ AddType application/font-woff .woff .woff2
ExpiresActive On
ExpiresByType application/font-woff "access plus 1 month"
+
+# Force SSL/HTTPS
+# We recommend you place this block in your VirtualHost config rather
+# than uncommenting it below. However, if you have no other way,
+# feel free to uncomment it, but please remember that this file will
+# be overwritten during your next Chamilo update.
+# Also note this will only work if you have an SSL certificate
+# configured elsewhere in your Apache configuration.
+
+#RewriteCond %{HTTPS} !=on
+#RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
+#