Greetings!
Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
It appears you are working on creating a URL rewrite rule in Azure Content Delivery Network (CDN) to eliminate a specific string from the URL path.
You can refer the below stepsStep1: Configure the URL rewrite rule
- Select "URL path" as the condition type.
- Enter the following condition:
- Operator: "Contains"
- Value: "/test/"
- Case transform: No transform
Step2: Select "URL rewrite" as the action type.
- Enter the following action:
- Source Pattern: "/test/*"
- Destination: "/*"
Preserve unmatched path: Yes
NOTE: This rule checks if the URL path contains /test/ and then rewrites the path by removing /test/ while preserving the rest of the path.
If you are still encountering issues, kindly provide additional details regarding the error messages in terms of Screenshot manner or the behavior you are experiencing.
Hope this clarifies!
If above is unclear and/or you are unsure about something add a comment below.
Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.
Regards,
Ganesh