Changing Moodle URL

Changing Moodle URL

John K -
回帖数:4
I was looking at this documentation to change my Moodle URL:
http://docs.moodle.org/en/Moodle_migration

I changed the wwwroot in the config.php and that seems to have worked perfectly. I see the section about using replace.php to update the database, but is that necessary in the latest version of Moodle? I am going from an IP address URL to a domain name URL, and it all seems to be working fine without using replace.php...
回复John K

Re: Changing Moodle URL

Steven A -
Do the IP address and URL reference the same location on the server? If so, then I'm guessing you wouldn't experience any problems because both URLs point to the correct location.

I'd still run replace.php in order to streamline things. Make sure you make a backup of your database first.
回复Steven A

Re: Changing Moodle URL

John K -
same server, new folder location and a new DNS name. I am just hesitant to fix what's not broken since everything is working perfectly...
回复John K

Re: Changing Moodle URL

Colin Fraser -
Documentation writers的头像 Testers的头像
Perfection: a state of self delusion.

It is not a matter of fixing anything, consider the argument found in this FAQ, and think about how you can perhaps avoid some problems or solve them before they become an issue in your production site.