Note: You are currently viewing documentation for Moodle 3.6. Up-to-date documentation for the latest stable version of Moodle is likely 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)

(Managing a Moodle site template, rewording, url update, screenshot)
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Managing a Moodle site}}
{{Admin tools}}
Admins can search and replace text e.g. URLs in their Moodle database using the search and replace tool at <nowiki>http://yourmoodlesite.org/admin/tool/replace/index.php</nowiki> (replacing yourmoodlesite.org with the address of your Moodle site). This is useful when a [[Moodle migration|Moodle site is moved from one server to another]] or when the URL changes.


Admins can search and replace text e.g. a URL in their Moodle database at <nowiki>http://yourmoodlesite.org/admin/tool/replace/index.php</nowiki>. This is useful when a Moodle site is moved from one server to another.
Alternatively, a command line script can be used to search and replace text. See [[Administration via command line]] for details.


Note: A database backup should be made before running the search and replace.
{{Warning|A database and site backup should be created before performing a search and replace.}}


[[File:search and replace.png]]
==See also==
 
* Tracker issue MDL-35099 Convert hidden search/replace script into a proper core admin tool
 
[[es:Herramienta para buscar y remplazar]]
[[fr: Recherche et remplacement]]
[[de:Datenbank-Suche]]

Latest revision as of 13:16, 1 November 2018

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 or when the URL changes.

Alternatively, a command line script can be used to search and replace text. See Administration via command line for details.

Warning: A database and site backup should be created before performing a search and replace.


See also

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