December 21, 2015
Solved
Vanity URLs
- December 21, 2015
- 2 replies
- 2125 views
Hi Maggie,
can you list the list URL to the original page, the JSON ouput for the jcr:content node and the vanity url you are trying? The image you attached does not have a vanity url set.
For example on my author instance I just created a vanity URL (The same way Graham described) "/coats" for http://localhost:4502/content/geometrixx-outdoors/en/men/coats.html
http://localhost:4502/content/geometrixx-outdoors/en/men/coats/jcr%3Acontent.tidy.json
{ "jcr:primaryType": "cq:PageContent", "jcr:mixinTypes": [ "cq:LiveSync", "cq:PropertyLiveSyncCancelled" ], "jcr:createdBy": "admin", "jcr:title": "Coats", "cq:catalogBlueprint": "/content/catalogs/geometrixx-outdoors/en/base-catalog/men/coats", "cq:propertyInheritanceCancelled": ["sling:vanityPath"], "cq:template": "/apps/geometrixx-outdoors/templates/page_sidebar", "jcr:created": "Mon Nov 30 2015 15:21:50 GMT+0000", "cq:lastModified": "Tue Dec 22 2015 16:18:00 GMT+0000", "sling:vanityPath": "/coats", "sling:resourceType": "geometrixx-outdoors/components/page_sidebar", "cq:commerceType": "section", "cq:lastModifiedBy": "admin" }
So I can access the page at http://localhost:4502/content/geometrixx-outdoors/en/men/coats.html and http://localhost:4502/coats.html
Regards,
Opkar
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.