Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: HTTPS conversion tool.

HTTPS conversion tool: Difference between revisions

From MoodleDocs
(see also tracker issue)
(Added info about the CLI version)
Line 3: Line 3:


Before performing the conversion, content will be scanned to find any URLs which may not work after conversion i.e. any domains which do not appear to support HTTPS content. After switching to HTTPS, the content included from these sites will no longer display within Moodle for users with secure modern browsers. These problematic domains will be converted, but obviously won't work once the conversion is complete, hence they are reported for audit prior to the conversion process.  
Before performing the conversion, content will be scanned to find any URLs which may not work after conversion i.e. any domains which do not appear to support HTTPS content. After switching to HTTPS, the content included from these sites will no longer display within Moodle for users with secure modern browsers. These problematic domains will be converted, but obviously won't work once the conversion is complete, hence they are reported for audit prior to the conversion process.  
There is also a CLI conversion tool. To list domains that need conversion:
php admin/tool/httpsreplace/cli/url_replace.php -l
To perform the conversion:
php admin/tool/httpsreplace/cli/url_replace.php -r --confirm


==See also==
==See also==

Revision as of 22:05, 1 February 2018

New feature
in Moodle 3.9!

HTTPS conversion tool

The HTTPS conversion tool will convert any embedded HTTP content (not links) on your site to HTTPS in order for it to display correctly on your HTTPS site.

Before performing the conversion, content will be scanned to find any URLs which may not work after conversion i.e. any domains which do not appear to support HTTPS content. After switching to HTTPS, the content included from these sites will no longer display within Moodle for users with secure modern browsers. These problematic domains will be converted, but obviously won't work once the conversion is complete, hence they are reported for audit prior to the conversion process.

There is also a CLI conversion tool. To list domains that need conversion:

php admin/tool/httpsreplace/cli/url_replace.php -l

To perform the conversion:

php admin/tool/httpsreplace/cli/url_replace.php -r --confirm

See also