1. Log in to cPanel
  2. Using File Manager, navigate to the Moodle files and identify the config.php file
  3. At line 17 modify $CFG->wwwroot = 'http://examplu.tld'; in  $CFG->wwwroot = 'https://examplu.tld';
  4. Save config.php
  5. Enter the .htaccess file, add the following code and then save the file:
RewriteEngine On 
RewriteCond %{SERVER_PORT} 80 
RewriteRule ^(.*)$ https://www.examplu.tld/$1 [R,L]
Cette réponse était-elle pertinente ? 0 Utilisateurs l'ont trouvée utile (0 Votes)