How Stripping of Extention works | Community
Skip to main content
Level 2
May 16, 2018
Solved

How Stripping of Extention works

  • May 16, 2018
  • 2 replies
  • 1199 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunwarsaluja

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

2 replies

arunpatidar
Community Advisor
Community Advisor
May 16, 2018

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
KunwarsalujaAdobe EmployeeAccepted solution
Adobe Employee
May 16, 2018

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