Expand my Community achievements bar.

SOLVED

How Stripping of Extention works

Avatar

Level 3

I have seen many site having short path and not having .HTML extention.

Short path is based on Resource resolver configuration. Wanted to know how the extension is stripped?

Suppose when AEM is serving /content/geometrixx/en/company/discover_geometrixx.html  it gets converted www.geometrixx.com/en/company/discover_geometrixx.  Here /content/geometrixx/en is mapped to /en. SO it shorten the path.

How it removes the exntion while serving the page from Publish box to Actual website. In Webserver cache I saw that it is still having cache with .HTML extention. Need more details on this flow.

1 Accepted Solution

Avatar

Correct answer by
Employee

You should be able to achieve this  with mix of etc mappings to map/rewrite content path and rewrite rules to handle the extensionless urls.  Have a look at (1) to get an idea on this.

(1) : Extensionless URLs with Adobe Experience Manager | Olson Digital

View solution in original post

2 Replies

Avatar

Community Advisor

Hi,

This can be achieved with the help of Vanity Urls and Resource Mapping.

Please find below articles which explain Vanity Urls and Resource Mappings

Manage vanity URLs

Resource Mapping

Thanks

Arun



Arun Patidar

Avatar

Correct answer by
Employee

You should be able to achieve this  with mix of etc mappings to map/rewrite content path and rewrite rules to handle the extensionless urls.  Have a look at (1) to get an idea on this.

(1) : Extensionless URLs with Adobe Experience Manager | Olson Digital