Redirect Subdomain to Subpage

I am attempting to change a URL from subdomain.example.com* to subdomain.example.com/subpage for a login page.

Has anyone else figured out how to make this change? Seems like it is in Page Rules or Transform Rules but cannot find any documentation

That looks like it’ll loop since your wildcard matches subpage.

You’d have to create a first Page Rule to match subpage with some benign setting such as Always Use HTTPS. Anything that’s not subpage will skip the first rule and hit the redirect in the second rule.

I didn’t even think of that! I wasn’t sure if I should be using a Page Rule or Transform Rule, so that helps! Thank you!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.