I have a question. For a client Im running an installation of Moodle (2.7) on a hosted server. Originally the client wanted a front page with a link to the moodle platform (www.myserver.com/moodle/) but now they want to remove it so that you enter the moodle system directly when pointing your browser towards our site.
After some documentation studying I thought I had figured things out:
- Put Moodle in maintenance mode
- Via FTP remove the current index-file from the root on the hosted server
- Change to the correct path in the config.php (www.myserver.com/)
- Dump the existing database with the old/wrong links
- Then import the searched and replaced database with the correct links
- Then disable the maintenance mode again
That would in my mind hopefully work perfect but unfortunately I have only access to the databas via phpMyAdmin and there´s a size limit around 50 MB which makes things troublesome for me since my database is around 170 MB. I have no possibility to access the server via SSH, the host doesn't allow that.
However I read about the replace.php script that can be performed directly in Moodle itself. My question is then, are the steps below correct or is anything in the wrong order or missing?
1. Perform the replace.php script (from www.myserver/moodle/ to www.myserver.com/)
3. Change the path in the config.php file and replace it on the server.
Any more required steps? If the maintenance mode shall be enabled, where in the steps above would it be appropriate?
The host takes daily backups so If anything should go wrong I can always revert to a day before, not much activity right now in our system so it wouldn't be a problem.
Very grateful for any thoughts and ideas!