Salesforce

After upgrading to Tridion Sites 9.6, .html file extension is not being appended to the end of resolved links in DXA application

« Go Back

Information

 
Article TypeSolution Article
Scope/EnvironmentTridion Sites 9.6 and DXA 2.2 (.NET)
Symptoms/Context
- Customer has upgraded to Sites 9.6 (RWS hosted) and DXA 2.2 (.NET), from Web 8.5 and DXA 2.0 and using the Model service.
- In the previous implementation, developer had configured application to append .html file extension when stripping index at the end of resolved links for the component link resolver in the model service.  This was done by applying the following flags in the dxa.properties file.
dxa.web.link-resolver.keep-trailing-slash=${DXA_WEB_LINK_RESOLVER_REMOVE_EXTENSION:false}


 
Resolution
Issue resolved after setting the DXA_WEB_LINK_RESOLVER_REMOVE_EXTENSION param value to false of the Content service configuration, and restarting service.  Also see KB article After upgrading to Tridion Sites 9.6, a trailing slash is not being appended to the end of resolved links in DXA application
Root Cause
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by