Create an XML file with name org.apache.sling.servlets.resolver.SlingServletResolver in config folder.Add servletresolver.paths property with your custom paths as specified below. <?xml version="1.0" encoding="UTF-8"?><jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://ww...
Yes. For SPA entire page content is based on <pagename>model.json. And this will called internally from clientlib-react. While rewriting the URL in dispatcher page will be loaded but the model.json will be of the page which we are accessing from the browser.
This is what happening. While accessing /abc abc.model.json is getting called and the content coming under this is getting loaded in page. After applying rules, still abc.model.json is getting loaded for both the /page1 and /page2
Not redirect. It should be Rewrite. User end URL shouldn't change. I have already configured and internally page is getting loaded for that. But, the content is not changing as it depends on model.json
We are using AEM - React as a SPA.The Rewrite Rules which are configured for URL shortening were not working with this AEM-React SPA.We have made some changes in HierarchyPageImpl class so that :path will be specific to the short URL. And the changes are working fine.But, we have a new use case wher...