I am trying to apply the following page rules to it:
If Url matches https://* .test.excelwraps.com/* forward url via temporary redirect to ExcelWraps - Technology
If Url matches https://*.test.excelwraps.com/ forward url via temporary redirect to ExcelWraps - Technology
The problem is that it will forward anything below the root of the site e.g. https://guide.test.excelwraps.com/[anything] but not just https://guide.test.excelwraps.com i.e. the root of the site remains undirected. I have tried changing the order but it has no effect. I have tried prefixing both sites with http/ https but makes no difference.
In this case your second page rule will never execute as it always stops at the first one. I presume this is not what you intended. Shouldnt the first one already do the trick?
Can you describe what exactly you want to achieve? Post a few examples.
I am afraid I dont really have an explanation for that. From the looks it should work (and it does work in my case).
Only guess I would have is whether there could be any e.g. whitespace character which tampers with the match. Try removing the page rules and set up the first from scratch, paying attention that you dont enter (or copy paste) anything that could distort the match.
Should that still not work, I would suggest to open a support ticket. Maybe there is something about the host level within the domain (my test was a first level host, yours is a second level).
If I create it manually it works as you say. If I use the api it doesn’t. I also added the rule manually and then used the api to recreate the rule and it says a matching rule already exists so there is something wrong with the api.
Generally it shouldnt matter whether you set it up manually or via the API. As long as the API returns successfully, and the page rule shows up correctly, you should be fine.
If that is not the case here, it really is something only support can elaborate on.
Post the ticket number you got, so @cloonan can track it.
If it helps anyone. It turns out I had another rule (Cache level: bypass) which was interferring with the rule I was trying to set up (forward url). For some reason this meant the root of the site was not forwarded but everything else was. All I had to do was change the priority of cache level: bypass to be lower than the forwarding rule and all urls on the domain were forwarded correctly.
I just noticed you actually did not post a full screenshot of your page rules. This is the reason why it always is a good idea to post the full picture and why I asked for a screenshot of your page rules.