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

Vanity URL's need to redirect to actual URL with I.D appended to it.

Avatar

Avatar
Validate 1
Level 2
adithyaa6344757
Level 2

Likes

6 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile

Avatar
Validate 1
Level 2
adithyaa6344757
Level 2

Likes

6 likes

Total Posts

36 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Give Back 5
Give Back 3
Give Back
Boost 5
View profile
adithyaa6344757
Level 2

29-03-2019

I'm working in AEM 6.3. I'm trying to extend the default behavior of vanity URLs such that the following will happen:

So I'd be extending the default page properties vanity functionality to include an authorable ID field to it.

1) User navigates to vanity URL and is redirected to actual URL

2) ID that is associated (and authorable) is appended to the URL

Example:

Vanity URL: /foobar

ID: 123(authored)

Actual URL: www.test.com/plans

Now when I hit the vanity url it should redirect to:

Resulting URL: www.test.com/plans?123

I've been able to modify the page properties to include a new field associated with the vanity URL in the UI. It doesn't appear to be saving the actual value though.

I can add a completely new multifield with both Vanity and I.D fileds in it but how to make this work and how to append the authored I.D to the URL is what i trying to figure out.

View Entire Topic

Avatar

Avatar
Boost 3
Level 1
Szalam
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile

Avatar
Boost 3
Level 1
Szalam
Level 1

Likes

3 likes

Total Posts

17 posts

Correct Reply

0 solutions
Top badges earned
Boost 3
Boost 1
View profile
Szalam
Level 1

29-03-2019

He said AEM. A moderator has moved this post to the Adobe Experience Manager forum.