Search and replace tool: Skillnad mellan sidversioner
Från MoodleDocs
(Additional tools may be found elsewhere in the admin settings)
mIngen redigeringssammanfattning |
m (→Update warning) |
||
Rad 4: | Rad 4: | ||
Alternatively, a command line script can be used to search and replace text. See [[Administration via command line]] for details. | Alternatively, a command line script can be used to search and replace text. See [[Administration via command line]] for details. | ||
{{Warning|A database backup should be created before performing a search and replace.}} | {{Warning|A database and site backup should be created before performing a search and replace.}} | ||
==See also== | ==See also== |
Versionen från 1 november 2018 kl. 13.16
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