如何在Oracle Content and Experience中重写urls。我想重写url
/?categoryId=1
至
/1/example
谢谢。
发布于 2021-03-03 04:42:26
如果这是在Oracle and Experience站点的上下文中,您可以手工创建一个具有重定向规则的redirects.json文件。您的特定示例的示例可能如下所示:
{ "redirectRules": [ { "type": "wildcard", "expression": "/?categoryId=*", "location": "/site/SampleSite/<$categoryId$>/example" } ] }
这里有更多关于此文件格式here的信息。有关上传此文件的信息,请访问here。
https://stackoverflow.com/questions/66283503
相似问题