I want to setup a rules engine URL rewrite for Azure Standard FD setup. My source is xyz.com/abc/123/html/test/404.html and now i want this to be xyz.com/abc/123/html/test1/404.html. Ive setup the rule but it doesnt work. Need help on this ?

Karuna P 0 Reputation points
2024-02-07T03:21:42.0333333+00:00

I want to setup a rules engine URL rewrite for Azure Standard FD setup. My source is xyz.com/abc/123/html/test/404.html and now i want this to be xyz.com/abc/123/html/test1/404.html. I've setup the rule but it doesn't work. Need help on this ?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
587 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Priya Kumar 1,096 Reputation points Microsoft Employee
    2024-02-07T04:29:16.2633333+00:00

    Hello @Karuna P ,

    Thanks for reaching azure Q and A platform.

    Could you please try the below re-write rule?

    enter image description here

    Source Pattern: /test/ Destination: /test1/ Preserve Unmatched Path: Yes

    Please do let us know if this did not work.

    https://learn.microsoft.com/en-us/azure/frontdoor/front-door-url-rewrite?pivots=front-door-standard-premium

    Regards, Priya Kumar