Skip to main content
avesh_narang
Level 4
Jan 29, 2025 2:12 PM UTC
Solved

Ability to modify URL slug

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 .
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
anupampat
anupampatAccepted solution
Community Advisor
Jan 29, 2025 2:47 PM UTC

3 replies

anupampat
Community Advisor
anupampatCommunity AdvisorAccepted solution
Community Advisor
Jan 29, 2025 2:47 PM UTC

Hi @avesh_narang ,

 

Please check out https://medium.com/@veena.vikraman19/aem-brand-slug-in-aem-6b059dd9e383 

 

Regards,

Anupam Patra

Translate
arunpatidar
Community Advisor
Community Advisor
Jan 29, 2025 3:28 PM UTC

Hi @avesh_narang 

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

Translate
Arun Patidar
Shiv_Prakash_Patel
Community Advisor
Community Advisor
Jan 29, 2025 5:01 PM UTC

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,

Translate
Shiv Prakash