Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Page name change on URL without disturbing content structure

Avatar

Level 2

Hi,

I would like to understand how to change the page name (ex: from abc to xyz) on URL without disturbing content/URL structure.

For example:

This is my existing URL structure: http://localhost:4502/content/geometrixx/en.html

The new URL should be: http://localhost:4502/content/geometrixx/english.html

Couple of requirements here:

'en' has sub pages, so when i use those sub pages, the url should be like http://localhost:4502/content/geometrixx/english/1/2.html

It should be SEO friendly.

I have tried using sling mapping but no luck. May be I was doing something incorrect. Appreciate if anyone is able to help me out on this?

- Sak

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hello sakd8248873

You may want to explore the Alias feature in AEM to satisfy your use-case. Steps:

1) Go to /editor.html/content/geometrixx/en.html

2) Open Page properties and go to Advanced Tab

3) Declare an Alias for this page by giving it an value of "english".

Now you'll be able to hit the page /content/geometrixx/english.html as well as /content/geometrixx/en.html.

You can check further on this in documentation SEO and URL Management Best Practices https://helpx.adobe.com/experience-manager/6-3/managing/using/seo-and-url-management.html

Best Regards,

Aneet

View solution in original post

4 Replies

Avatar

Level 2

I am still clue less. Appreciate if anyone throw an idea on this.

Avatar

Level 10

Are you using AEM to manage your site or are you just looking for a way to change the way your URL looks in reporting?

Avatar

Correct answer by
Level 5

Hello sakd8248873

You may want to explore the Alias feature in AEM to satisfy your use-case. Steps:

1) Go to /editor.html/content/geometrixx/en.html

2) Open Page properties and go to Advanced Tab

3) Declare an Alias for this page by giving it an value of "english".

Now you'll be able to hit the page /content/geometrixx/english.html as well as /content/geometrixx/en.html.

You can check further on this in documentation SEO and URL Management Best Practices https://helpx.adobe.com/experience-manager/6-3/managing/using/seo-and-url-management.html

Best Regards,

Aneet

Avatar

Level 2

Thank you Aneet! This is what I am looking for

Thanks,

Sak