Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Search and replace.

Search and replace

From MoodleDocs

Admins can search and replace text e.g. a URL in their Moodle database at http://yourmoodlesite.org/admin/replace.php. A database backup is recommended before running the search and replace ;-)


BUT : content of the html blocks are encoded in configdata field (block_instance table). So admin/replace.php doesn't change internal links there. Please refer to these messages :

http://moodle.org/mod/forum/discuss.php?d=109626

http://moodle.org/mod/forum/discuss.php?d=129799