Vanity urls on publisher goes 404
Hi Team,
We are creating pages programatically on publisher it self, and setting sling vanity urls. We have observed that few pages working fine but few of them goes 404.
Path pattern is
Content path is : /content/myproject/products/product-categoty/product.html
Vanity path is : /content/myproject/product.html
I have checked the error logs on publisher.
GET /content/myproject/vivoy128gb-storagegold-8gbram.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Resource/content/myproject/vivoy128gb-storagegold-8gbram.html not found
When we travers page through crx/de repository to actual page "/content/myproject/products/product-categoty/product.html" and performed dummy save operation same page started working.
Also another behaviour is after few day's same page went 404, without any content update or any other operation. Then again need to do the same practice.