Application has multi domain in an single instance. The link is RTE is picked from other domain node. The same path exists in both domain. The link is taking the current domain.
tried custom config settings
"CMS": {
"RichTextEditor": {
"CustomConfig": {
"relative_urls": "false",
"remove_script_host": "false",
"convert_urls": "true"
}
},
It did added the absolute URL in backoffice
https://sub1.abc.com/{localLink:umb://document/beb7f6ccadcc46bb884e0eee7100a2d9} , but in frontend the linkURL is with "document/" and on clicking the link it opens the page in correct domain correctly. The issue is in reference with google search and indexing of page in google.
I also tried some regex matching to find the path of the umb:document and render it frontend. But it had replaced the sub1.abc.com domain to current domain in the frontend.
I need help to find a logic to have normal URL with correct domain in the RTE links in the webpage.