@massad Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
Based on your earlier Posted questions here in this forum, I am assuming that you are still working with Wordpress on App Service
and trying to configure some redirect rule in the CDN profile that got created while deploying this Word press image.
To test/reproduce this behavior, I have created two sample pages /testing-page-to-check-user-issue
another page /child-item/
and added /testing-page-to-check-user-issue as parent.
When I make a request to path
https://<cdnName>-endpoint.azureedge.net/testing-page-to-check-user-issue/child-item/ the request should be re-directed to https://<cdnName>-endpoint.azureedge.net/testing-page-to-check-user-issue/
To achieve this, I have created the below rule in rule engine as shown below.
Here are the values passed to RequestURL and Path parameters.
RequestURL: testing-page-to-check-user-issue/child-item
Path: /testing-page-to-check-user-issue/
HostName: https://<CDNName>-endpoint.azureedge.net
I have tested this it is working fine and I would request you to validate from your end.
Feel free to reach back to me if you have any further questions on this.