i have authored link URL and text on page component and it's showing in jcr node of page but class applied for <a> tag and authored URL link it's not getting on publish environment, please find below affected page source html.
<div class="c-error-page__error-content__error-description"><p>Page not found.</p>
Go to Homepage
This issue is working fine on my local and lower dev (author/publish) environment but facing issue on production publish environment.
I am not sure why it's not working to specific publish environment, can you please give me some inputs.
AEM link checker is used to validate all internal and external links available on the page.
It automatically checks links and will not publish a broken link. In some ways, this is great, since AEM self-monitors and corrects for issues, but when you know the link is correct and it won’t let you write it, then there’s a problem.
The following are few example links which might not be published by AEM (AEM consider them as broken links):
I am also facing the same issue. But this issue we have just in production. I compared the link checker configuration and its is the same in the lower environments. I tried adding x-cq-linkchecker="skip" to the a tag. I cannot test the same in the lower environments as we don't have this issue in lower environments. This attribute is not getting displayed in the a tag using DOM explorer. Is that expected? Will we not see this parameter in the DOM Explorer? Can some one help?
Day Link checker configuration validates if the URL is valid URL or not, if not then it will remove the anchor tag, please check Link check configuration in production publish instance. you can try disabling link checker service and check if you are able to see links are appearing in the output, after disabling link check service you should all valid and invalid links.
Disabling link checker service is not recommended, you can do this only for troubleshooting.