Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Search and replace tool.

Search and replace tool: Difference between revisions

From MoodleDocs

(Additional tools may be found elsewhere in the admin settings)

mNo edit summary
m (removing out-of-date screenshot as suggested in the page comments)
Line 3: Line 3:


Note: ''A database backup is highly recommended before running the search and replace'' ;-)
Note: ''A database backup is highly recommended before running the search and replace'' ;-)
[[File:search and replace.png]]


''Note'':  '''New in 2.9:'''  It is also possible to do a search and replace from the command line. Please see [[Administration via command line]] for more information.
''Note'':  '''New in 2.9:'''  It is also possible to do a search and replace from the command line. Please see [[Administration via command line]] for more information.

Revision as of 07:49, 25 August 2015

Admins can search and replace text e.g. URLs in their Moodle database using the search and replace tool at http://yourmoodlesite.org/admin/tool/replace/index.php (replacing yourmoodlesite.org with the address of your Moodle site). This is useful when a Moodle site is moved from one server to another.

Note: A database backup is highly recommended before running the search and replace ;-)

Note: New in 2.9: It is also possible to do a search and replace from the command line. Please see Administration via command line for more information.

See also

  • Tracker issue MDL-35099 Convert hidden search/replace script into a proper core admin tool