Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.
SOLVED

Ability to modify URL slug

Avatar

Level 4
We need to provide a proivision in AEM Page for an author to modify/update the URL slug for exisitng pages without moving the pages to new location. Please help how can we achieve the same .
1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Community Advisor

Hi @avesh_narang 

you can rely on alias to create custom/slug urls.

Arun Patidar

AEM LinksLinkedIn

Avatar

Community Advisor

Hi @avesh_narang ,

You can enable AEM authors to modify the URL slug for existing pages without relocating them, consider these key approaches:

Custom Slug in Page Properties: Add a customURLSlug property in page properties, use Sling Mappings to rewrite URLs based on this custom slug.

Vanity URLs: Utilize the built-in Vanity URL feature, allowing authors to specify a custom URL path without moving the page.

Make sure to configure caching and redirects properly to maintain SEO integrity.

Regards,

Shiv Prakash