Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

How to remove /home from URL AEM?

Avatar

Avatar
Contributor
Level 2
jezwn
Level 2

Likes

9 likes

Total Posts

69 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Springboard
Establish
Validate 1
View profile

Avatar
Contributor
Level 2
jezwn
Level 2

Likes

9 likes

Total Posts

69 posts

Correct Reply

2 solutions
Top badges earned
Contributor
Shape 1
Springboard
Establish
Validate 1
View profile
jezwn
Level 2

21-09-2020

What's the best approach to remove "/home" from home page.

AEM home page:
https://localhost:4502/sites.html/content/companyname/home

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

585 likes

Total Posts

572 posts

Correct Reply

219 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

585 likes

Total Posts

572 posts

Correct Reply

219 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

21-09-2020

You can change the node name. There are two easy ways to achieve this.

1. Touch UI.

- Use the "move the page" functionality.

BrianKasingli_0-1600683127009.png

Touch UI will take care of the re-publish and un-publish of the page, and also it's references.

 

2. CRX/DE console
You can change the node name from the CRX/DE console, http://localhost:4502/crx/de/index.jsp#content/companyname/home, change this to home2 for example.

- Making sure you un-publish the page first, then re-publish the page after the change. This method will not be as handy as the Touch UI way, where references page links would not be automatically updated, and re-published.

 

3. Delete the page (from the Touch UI or CRX/DE)

If you don't want the /content/companyname/home page, just delete it.... making sure you unpublish the page first; no reference checks & clean up are done here.

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

388 likes

Total Posts

377 posts

Correct Reply

147 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

388 likes

Total Posts

377 posts

Correct Reply

147 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
vanegi
Employee

21-09-2020

 

You can implement either sling:alias or vanity url feature for this use case.

sling:alias – The property may be set on any resource to indicate an alias name for the resource. For example the resource /content/home may have the sling:alias property set to test allowing the resource to be addressed in an URL as /content/test.

Vanity URL - You define Vanity URLs in CQ to create easy-to-remember and easy-to-search URLs on your website.