Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6621

Re: Books in Moodle 3 Backup -> Restore links are not updating

$
0
0

by Andrew Normore.  

SOLVED: https://docs.moodle.org/34/en/Backup_and_restore_FAQ#Why_are_certain_course_links_broken_in_a_restored_course.3F

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=xxx
in order to be processed properly during backup and restore. Any relative URLs e.g.
/mod/resource/view.php?id=xxx
,
../resource/view.php?id=xxx
or
view.php?id=xxx
will 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,


Viewing all articles
Browse latest Browse all 6621

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>