Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
In aem 6.5 , <a href="${item.path}.html" > was working perfectly. But in cloud publisher environment, ${item.path}.html or ${item.path @ extension = 'html'} none of them are working. We get the whole url but the page extension .html is not adding. We have added etc/map in our codebase. How can I get html extension in the cloud environment?
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Hi @nusratja,
this should work fine. Is it happening on author or only publisher? Are you sure you don't have a rewrite rule in Dispatcher removing the .html extension?
Good luck,
Daniel
Vistas
Respuestas
Total de me gusta
Hi @nusratja,
this should work fine. Is it happening on author or only publisher? Are you sure you don't have a rewrite rule in Dispatcher removing the .html extension?
Good luck,
Daniel
Vistas
Respuestas
Total de me gusta
@nusratja Looks like you are stripping off the extension (.html in this case) using a rewrite rule either at dispatcher or at the CDN level if you are using something like an Akamai in front of AEM. You might want to check that out first.
Vistas
Respuestas
Total de me gusta
How does your generated HTML look like then in the browser? Can you inspect and share that screenshot ?
Vistas
Respuestas
Total de me gusta
@nusratja Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas