Ability to modify URL slug | Community
Skip to main content
avesh_narang
New Participant
January 29, 2025
Solved

Ability to modify URL slug

  • January 29, 2025
  • 3 replies
  • 840 views
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 .
Best answer by anupampat

Hi @avesh_narang ,

 

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

 

Regards,

Anupam Patra

3 replies

Shiv_Prakash_Patel
New Participant
January 29, 2025

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
arunpatidar
New Participant
January 29, 2025

Hi @avesh_narang 

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

Arun Patidar
anupampat
anupampatAccepted solution
New Participant
January 29, 2025