Expand my Community achievements bar.

Pathfinder paths handling difference in AEM Cloud vs AMS

Avatar

Level 4

Hey guys,

 

Another question for handling of links in AEM Cloud -

We have a simple footer component with footer links -

href="${columnTwoList.subSectionLink @ context='uri'}"


In AMS, the URL is evaulating to /content/a/b.html

However, in AEM Cloud the URL is evaluating to /content/a/b.

Query 1 - Why the difference for the same code?

 

Query 2 - The publisher is leading to 404 for URLs without .html at the end.

As per my understanding, AEM automatically appends .html for the URLs to be resolved as part of Apache Sling Resolver.

 

thanks in advance,

Nagesh

 

 

1 Reply

Avatar

Community Advisor

Hi @NageshRaja 

By default, .html is not appended automatically in either AMS or AEMaaCS. In AMS, you may be using link transformation(Sling Output Pipeline) to append .html as part of the URL structure.

 

AEM does not automatically appends .html for the URLs. You might have some sling mapping and sling reverse mapping to resolve those urls.

 



Arun Patidar