この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hi Team,
I want to hide string from the URL using the sling:mapping. for example
http://www.sample.com/stringtohide/select-a-country.html --> http://www.sample.com/select-a-country.html
http://www.sample.com/stringonetohide/stringtwotohide/privacy.html --> http://www.sample.com/privacy.html
Please help!!
Thanks,
Madhu
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
You need to add a few resource resolver mapping rules in the "Apache Sling Resource Resolver" configuration manager in the felix console.
Your requirement will be resolved by using the below rules,
/stringtohide/select-a-country.html>/select-a-country.html
/stringtohide/select-a-country.html</select-a-country.html
/stringonetohide/stringtwotohide/privacy.html>/privacy.html
/stringonetohide/stringtwotohide/privacy.html</privacy.html
The below link helped me understand the mapping better,
http://ilikeorangutans.github.io/2012/11/20/apache-sling-resource-resolver-rule-priority-explained/
Hope this helps
表示
返信
いいね!の合計
You need to add a few resource resolver mapping rules in the "Apache Sling Resource Resolver" configuration manager in the felix console.
Your requirement will be resolved by using the below rules,
/stringtohide/select-a-country.html>/select-a-country.html
/stringtohide/select-a-country.html</select-a-country.html
/stringonetohide/stringtwotohide/privacy.html>/privacy.html
/stringonetohide/stringtwotohide/privacy.html</privacy.html
The below link helped me understand the mapping better,
http://ilikeorangutans.github.io/2012/11/20/apache-sling-resource-resolver-rule-priority-explained/
Hope this helps
表示
返信
いいね!の合計
See this AEM Doc topic:
http://docs.adobe.com/docs/en/cq/current/deploying/resource_mapping.html
表示
返信
いいね!の合計
Maddy737 wrote...
Hi Team,
I want to hide string from the URL using the sling:mapping. for example
http://www.sample.com/stringtohide/select-a-country.html --> http://www.sample.com/select-a-country.html
http://www.sample.com/stringonetohide/stringtwotohide/privacy.html --> http://www.sample.com/privacy.html
Please help!!
Thanks,
Madhu
Configure url mapping at http://host:port/system/console/configMgr/org.apache.sling.jcr.resource.internal.JcrResourceResolver...
表示
返信
いいね!の合計