Expand my Community achievements bar.

SOLVED

Ability to modify URL slug

Avatar

Level 3
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
Level 7
3 Replies

Avatar

Correct answer by
Level 7

Avatar

Community Advisor

Hi @avesh_narang 

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



Arun Patidar

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