Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How Stripping of Extention works

creative83
Level 3
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
Kunwar
Correct answer by
Employee
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
Arun_Patidar
Community Advisor
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

Kunwar
Correct answer by
Employee
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