vanity url's are not working immediately
Hello All,
I have referred this site to configure Vanity URL:
Added these details in the dispatcher
/vanity_urls {
/url "/libs/granite/dispatcher/content/vanityUrls.html"
/file "/tmp/vanity_urls"
/delay 300
}
created vanity_urls file under /tmp folder with write permission.
Uploaded and installed the “vanityurls-component” package on our AEM publish environment.
Then, Once I add vanity URL to a page and published this page. Also, added Vanity URL for 10 pages and published those pages. Then, I have restarted Apache server. Now, all the page works fine with Vanity URL. Now, if I add vanity URL for a page and then published the page. Now, Vanity URL is not working for this newly published page. Waited for 10-20 min. Still, no luck. I am not sure, why Apache server restart is required to work for Vanity URL?