HOW TO SETUP SSL IN MOODLE

HOW TO SETUP SSL IN MOODLE

November 23, 2019

Please check below steps to setup ssl in Moodle LMS:

Step: 1

  • Goto Moodle  config.php file on moodle root.
  • Change $CFG->wwwroot to https as shown ( $CFG->wwwroot = ‘http://example.com’;)

Step: 2

  • Next, Set up a redirect in your .htaccess file. Place the following code to htaccess
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://example.com/$1 [R,L]
Save the .htaccess file.
Avada Programmer

Hello! We are a group of skilled developers and programmers.

Hello! We are a group of skilled developers and programmers.

We have experience in working with different platforms, systems, and devices to create products that are compatible and accessible.