Find the links in AEM author having dispatcher Hostname/content/....instead of authoring /content/...
Hi,
Is there a way we can identify the links in author with dispatcherhostname/content/abc.html instead of "/content/abc.com"
For example:
Author domain : http://wcm-xyz-author:4502
Live/dispatcher domain : https://xyz.com
Expected:
In author, we have a link in page, whose target url is /content/abc/welcome.html
Dispatcher url will be : https://xyz.com/content/abc/welcome.html
Actual:
Business authoring link as direct "https://xyz.com/content/abc/welcome.html" instead of relative path "/content/abc/welcome.html"
Is there a way we can find such links where users authored entire dispatcher url as links?
Also we have python scripts to run in dispatcher side to find broken links, when we are running the same in author it is asking for AEM author credentials, How we can provide those credentials in script ?