The website is different than in my preview ie the code is not expected to behave like this

The redirect is indeed not default. You need to configure it yourself:

2 Likes