Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

How to access pages without adding .HTML extention to the urls

Avatar

Level 4

Hi Guys,

On the CQ platform we would like to enable our visitors to access pages without adding .HTML extention to the urls.

Does anyone know how to do this? I mean if the CQ platform has this function how to configure this? (such as config hiding url's /content/)

We have configured the dispatcher on the publish server that creats the cache depend on url extention, such as *.pdf, *.css, *.html.

But if the we access the url without .html extention, does it effect the dispatcher cache?

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Employee

There are a couple of pages that describe how to remove the ".html" extension, they also explain what you need to do if you want to remove the extension or if you want to remove the extension and add a trailing "/"

Both links also discuss caching implications.

http://www.citytechinc.com/us/en/blog/2013/04/extensionless-urls-in-adobe-experience-manager.html

http://www.wemblog.com/2011/08/how-to-remove-html-extension-from-url.html

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

There are a couple of pages that describe how to remove the ".html" extension, they also explain what you need to do if you want to remove the extension or if you want to remove the extension and add a trailing "/"

Both links also discuss caching implications.

http://www.citytechinc.com/us/en/blog/2013/04/extensionless-urls-in-adobe-experience-manager.html

http://www.wemblog.com/2011/08/how-to-remove-html-extension-from-url.html