Pre Webnode je dôležité nechať medzeru za "window. "
<script>window. location.replace("https://preweb.webnode.sk");</script>