Change URL moodle site

Change URL moodle site

by Domènec Ribes -
Number of replies: 2

Hi,

I have changed my primary (main) domain of my server. To adapt my Moodle instalation to new URL, I have changed config.php and replaced old domain on database to new URL.

Now I am unable to access to Moodle: it says "$CFG->wwwroot detectado incorrectamente en el archivo config.php, ya que no debe contener diagonales invertidas (). "


Is there something else I have to change?

Thank you!

Average of ratings: -
In reply to Domènec Ribes

Re: Change URL moodle site

by Simon Rediss-Whitfield -

Look like you have an extra slash argument in the config.php, maybe worth a revisit.

https://docs.moodle.org/30/en/Moodle_migration#Update_config.php_with_the_URL_of_the_new_server