The pattern is a regex, so you need to make it not match your dev-environment.
You could add your first one, to a config transform for your live environment. That is what I usually do, because then I can have the rule on my baseline project, and only need to change the redirect url.
You could also add a ^ to your HTTP_HOST pattern. This means, that the host must start with the pattern..
Umbraco Cloud - Redirect
Hi Our! :)
Hope you guys can help me with some redirects which i'm not the best at.. :)
I have an Cloud project with two envirements, live and dev :)
https://anders-s-sensitive-beaver.s1.umbraco.io/
https://dev-anders-s-sensitive-beaver.s1.umbraco.io/
I want to redirect the live envirement to my actual domain, but keeping the dev envirement.
This one redirects everything.. So i tried reconfigure it to this,
But it still wont work like i want to, how is i supposed to do?
Hi Anders
The pattern is a regex, so you need to make it not match your dev-environment.
You could add your first one, to a config transform for your live environment. That is what I usually do, because then I can have the rule on my baseline project, and only need to change the redirect url.
You could also add a
^
to yourHTTP_HOST
pattern. This means, that the host must start with the pattern..Thanks alot Søren :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.