by Andrew Normore.
Specifically:
Why are certain course links broken in a restored course?
Inter-activity links must be absolute (full) URLs e.g.http://site.com/mod/resource/view.php?id=xxxin order to be processed properly during backup and restore. Any relative URLs e.g.
/mod/resource/view.php?id=xxx,
../resource/view.php?id=xxxor
view.php?id=xxxwill result in broken links when the course is restored.
We recently had changed our website to https://www.... This means when Moodle does the restore, the string replacement for links does not trigger. I ran a MySQL query on the entire database to scan for the http://www.ourwebsite.com and updated it.
It works perfectly, as intended now!
Cheers,