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
Revision as of 16:13, 21 May 2012 by Pascal Maury (talk | contribs) (html blocks content not impacted)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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