Changing wwwroot aint reflecting in the resources url

Changing wwwroot aint reflecting in the resources url

by Ravishankar Somasundaram -
Number of replies: 2

Dear moodlers,

This is very strange problem i ran into,

Moodle installation runs in local system with ip (192.168.3.40)

After uploading all resources and forming courses i changed wwwroot to an external ip, and when tried to access the resource(.swf file) it opens and tries to redirect to the older local ip ! !

because it cannnot access the file using the local ip it redirects to home page again.

Any ideas ?

Average of ratings: -
In reply to Ravishankar Somasundaram

Re: Changing wwwroot aint reflecting in the resources url

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

If you change wwwroot, then you need to use the admin/replace.php script. More information on Moodle migration.

Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Changing wwwroot aint reflecting in the resources url

by Ravishankar Somasundaram -

Dear Tim,

Thanks for replying. Is going to admin/replace.php a temporary solution ?

Whats the necessity for the db to store the host name/address/ip ! ?

If its for caching purposes cant we clear cache button or something ?