Hi there
I want my redirect rule to also work for subdomains currently it onyl redirect main domain to main and even subdomain redirects to main, here is my expression:
concat(“https://test1.com”, http.request.uri.path)
What is the problem? it is set to dynamic too and all incoming requests
create 2 rules, one for the domain and one for admin using a Custom filter expression based on the Hostname field so you can redirect each separately
or
use the Wildcard pattern option to redirect https://*example.com/* to https://${1}example.net/${2} for a general option