I've inherited a Joomla site. I've noticed that some articles contain URLs like this:
<a href="http://testdomain.test/rest_of_url">example</a>
This site gets copied from our staging server to a production server, serving another domain, the production domain production.com. We don't want users on the production server to be linked to the staging domain testdomain.test, so this is a problem for us. The solution to this, I thought, was to modify the URLs to become:
<a href="/rest_of_url">example</a>
When I modify the article content like that, I click "save", but something automatically modifies the article content to put back the http://
scheme and the domain at the front. Other changes to the article content do get saved though. I presume one of the plug-ins is doing this, as other Joomla sites that I've worked on do not have this behaviour. The full URL does get saved to the database in the article content, I've verified that manually.
How do I go about debugging this issue to find out what's modifying the article content before it gets saved to the database? Is there a quicker way than manually turning off plugins one-by-one (or bisecting)?