Moving courses to a new server leaves old Moodle URL...

Moving courses to a new server leaves old Moodle URL...

by Dallas Ray Smetter -
Number of replies: 4

I moved a course from our development server at http://moodledev.stisd.net to a production server at http://elearn.stisd.net

Much of the content has broken links now... It's still trying to refer to the base URL of the development server.

I just did a course backup and then ftp'd it to the new server and did a restore. Was that the wrong process?

Thank you for assistance.

Average of ratings: -
In reply to Dallas Ray Smetter

Re: Moving courses to a new server leaves old Moodle URL...

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Most of it should be being fixed along the way.  The main exception would be uploaded files (these are not messed with).  Where in the content isn't it working for you?  Forums?  Resources?  somewhere else?
In reply to Martin Dougiamas

Re: Moving courses to a new server leaves old Moodle URL...

by steve isaacs -

I have an issue related to restoring files as well.  I have a few resources (lessons, books, etc.) where I am copying / pasting from a word doc.  The formatting stays intact on the moodle server.  However, when  I backup and restore, the restored version tends to show the html coding and because it is copied/pasted some of it could be god awful xml coding that is hard to negotiate and fix.

Any suggestions?

Steve

In reply to Martin Dougiamas

Re: Moving courses to a new server leaves old Moodle URL...

by Dallas Ray Smetter -

Looks as if I didn't inspect the link closely enough the first time. The broken links look like this:

The requested URL /file.php/8/Lesson12_files/Lesson12.htm was not found on this server.

This happens on labels and links to internal uploaded pages.

I used this fix and it worked:

http://moodle.org/mod/forum/discuss.php?d=19804&parent=93904

Thanks Martin