I'm working in AEM 6.3. I'm trying to extend the default behavior of vanity URLs such that the following will happen:
- User navigates to vanity URL and is redirected to actual URL
- An ID that is associated (and authorable) is appended to the URL
- Profit?
So I'd be extending the default page properties vanity functionality to include an ID.
Example:
Vanity URL: /foobar
ID: 123
Actual URL: www.test.com/plans
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.
Haven't gotten to actually trying to apply this saved value to the URL through the dispatcher. How that would work is still very vague as well.