This module automatically converts absolute URLs saved in link fields to internal paths. This provides a more robust way to handle links within your site by avoiding hardcoded URLs.
Converts URLs saved to link fields to their internal equivalents, which is much safer to deal with than having hardcoded URLs everywhere.
No configuration is required or available, simply enable the module and all future links saved to the site will have absolute URLs to the site's URL converted to the appropriate internal path.
There's a core issue that one day might make this unnecessary: #3136130: Convert absolute URLs to internal paths