multiple url list in vanity_urls in aem as cloud dispacther
Hi Team,
in AEM as cloud service , in Farm we already have a out of the box by adobe to use and create a vanity list via page properties
# if the package is installed on publishers to generate a list of all content with a vanityurl attached
# this section will auto-allow the items to bypass the normal dispatcher filters
# Reference: https://docs.adobe.com/docs/en/dispatcher/disp-config.html#Enabling%20Access%20to%20Vanity%20URLs%20-%20/vanity_urls
/vanity_urls {
/url "/libs/granite/dispatcher/content/vanityUrls.html"
/file "/tmp/vanity_urls"
/delay 300
}
can we add another new entry of new html with list of vanity list authored by author and can be enabled to allow dispatcher to allow this custom vanity list of urls using Java filter and Servlet to expose the list of vanity URLs
another new entry
/vanity_urls {
/url "/libs/granite/dispatcher/content/vanityUrls.html"
/url "/list/getvanityredirects.html" #this is custom vanity html listing another vanity and redirecting urls
/file "/tmp/vanity_urls"
/delay 300
}
will this work ?