Commit 6f1c2655 authored by Kristina Hoeppner's avatar Kristina Hoeppner
Browse files

admin/development: Move 'Embedded URLs' to the 'Development' admin menu

parent 24e20e9a
......@@ -63,6 +63,32 @@ Mahara uses a number of third-party plugins that deliver JavaScript, filtering,
#. **Version**: Current version number of this plugin.
#. **URL**: Official URL of the plugin where you can find out more about it.
.. index::
single: Site administrator; Embedded URLs
.. _embedded_urls:
Embedded URLs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|new in Mahara 22.04| *Administration menu → Development → Embedded URLs*
When you migrate your site to a different domain, content such as images embedded into text or URLs pointing to pages and collections within text are not updated to the new domain automatically. This tool helps to update all of these instances in one go.
.. figure:: /images/administration/embedded_urls.*
:alt: Update embedded URLs
Update embedded URLs
#. Go to ``yourdomain/admin/extensions/embeddedurls.php``.
#. **Old site URL**: Enter the URL of your previous site.
#. Click the *Check URL* button. Mahara now tries to find instances where the URL was used in embedded content.
#. **Results for ...**: A list of all instances where an embedded URL was found.
#. Click the *Update URLs* button to change all instances to the new site URL.
.. note::
Use this tool instead of updating the URLs via a database query because text is stored serialised and can't be updated via a SQL query.
.. index::
single: Development; Style guide
......
......@@ -889,29 +889,3 @@ In the administration area you can generate clean URLs for existing accounts, gr
.. warning::
If you generate clean URLs for all accounts from here, those who have already changed their URLs will lose their changes and links will be broken. We recommend you use this feature only when upgrading your Mahara site or when things have gone wrong with the clean URL generation.
.. index::
single: Site administrator; Update embedded URLs
.. _embedded_urls:
Update embedded URLs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/admin/extensions/embeddedurls.php*
When you migrate your site to a different domain, content such as images embedded into text or URLs pointing to pages and collections within text are not updated to the new domain automatically. This tool helps to update all of these instances in one go.
.. figure:: /images/administration/embedded_urls.*
:alt: Update embedded URLs
Update embedded URLs
#. Go to ``yourdomain/admin/extensions/embeddedurls.php``.
#. **Old site URL**: Enter the URL of your previous site.
#. Click the *Check URL* button. Mahara now tries to find instances where the URL was used in embedded content.
#. **Results for ...**: A list of all instances where an embedded URL was found.
#. Click the *Update URLs* button to change all instances to the new site URL.
.. note::
Use this tool instead of updating the URLs via a database query because text is stored serialised and can't be updated via a SQL query.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment