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

Ability to modify URL slug

  • January 29, 2025
  • 3 replies
  • 849 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 .
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 anupampat

Hi @avesh_narang ,

 

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

 

Regards,

Anupam Patra

3 replies

anupampat
Community Advisor
anupampatCommunity AdvisorAccepted solution
Community Advisor
January 29, 2025
arunpatidar
Community Advisor
Community Advisor
January 29, 2025

Hi @avesh_narang 

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

Arun Patidar
Shiv_Prakash_Patel
Community Advisor
Community Advisor
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